diff --git a/apps/web/src/components/dialogs/confirm.js b/apps/web/src/components/dialogs/confirm.js index 2b0ff12a9..5e66a7a0c 100644 --- a/apps/web/src/components/dialogs/confirm.js +++ b/apps/web/src/components/dialogs/confirm.js @@ -10,19 +10,21 @@ function Confirm(props) { icon={props.icon} positiveButton={{ text: "Yes", - onClick: props.onYes + onClick: props.onYes, }} negativeButton={{ text: "No", onClick: props.onNo }} > - {props.message} + + {props.message} + ); } export function confirm(icon, title, message) { - return showDialog(perform => ( + return showDialog((perform) => ( store.refresh(), []); const notes = useStore((store) => store.notes); const newSession = useEditorStore((store) => store.newSession); + return (