Skip to content

Commit 3deab3b

Browse files
committed
fix: show notification in top-right
1 parent f150fac commit 3deab3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/optimizer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616

1717
import Markdown from "react-markdown";
1818
import { notifications } from "@mantine/notifications";
19-
import { IconBug, IconSend2 } from "@tabler/icons-react";
19+
import { IconBug, IconLoader, IconSend2 } from "@tabler/icons-react";
2020

2121
import { Error } from "./error";
2222
import { ParsedLab } from "../pages";
@@ -70,6 +70,9 @@ export function Optimizer({ lab, redraw, updateInput, ...props }: OptimizerProps
7070
{
7171
const id = notifications.show({
7272
loading: true,
73+
withBorder: true,
74+
position: "top-right",
75+
icon: <IconLoader size={16} />,
7376
title: "Crunching the Numbers!",
7477
message: "Please wait, this might take a second...",
7578
autoClose: false,

0 commit comments

Comments
 (0)