Skip to content

Commit

Permalink
Update npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 20, 2024
1 parent b47b56a commit 08c6308
Show file tree
Hide file tree
Showing 5 changed files with 611 additions and 662 deletions.
2 changes: 1 addition & 1 deletion ui/app/alert-config/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'react-toastify/dist/ReactToastify.css';
import { alertConfigReqSchema, alertConfigType } from './validation';
const notifyErr = (errMsg: string) => {
toast.error(errMsg, {
position: toast.POSITION.BOTTOM_CENTER,
position: 'bottom-center',
});
};

Expand Down
5 changes: 2 additions & 3 deletions ui/app/mirrors/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ function getPeerLabel(peer: Peer) {
const notifyErr = (msg: string, ok?: boolean) => {
if (ok) {
toast.success(msg, {
position: toast.POSITION.BOTTOM_CENTER,
position: 'bottom-center',
});
return;
} else {
toast.error(msg, {
position: toast.POSITION.BOTTOM_CENTER,
position: 'bottom-center',
});
}
};
Expand Down
2 changes: 1 addition & 1 deletion ui/app/mirrors/errors/[mirrorName]/ackbutton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { toast } from 'react-toastify';

const notifyErr = (errMsg: string) => {
toast.error(errMsg, {
position: toast.POSITION.BOTTOM_CENTER,
position: 'bottom-center',
});
};

Expand Down
Loading

0 comments on commit 08c6308

Please sign in to comment.