Skip to content

Commit 0061506

Browse files
committed
fix(frontend): error message
1 parent 9a0806a commit 0061506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/components/SampleDialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function SampleDialog({ sample, open, setOpen }: SampleDialogProp
7474
if (result) {
7575
setOpen(false)
7676
} else {
77-
alert(`Unable to ${sample != null} ? "update" : "create"!}`)
77+
alert(`Unable to ${sample ? "update" : "create"} sample, check console.`)
7878
}
7979
},
8080
});

0 commit comments

Comments
 (0)