We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf988cd commit 077fb8dCopy full SHA for 077fb8d
src/App.tsx
@@ -571,9 +571,9 @@ const App: React.FC = () => {
571
setPopconfirmTitle('Blocks have been modified!');
572
setPopconfirmDescription('Press ok to save and continue');
573
// Set the function to be executed if the user clicks 'ok'.
574
- afterPopconfirmOk.current = () => {
+ afterPopconfirmOk.current = async () => {
575
setPopconfirmLoading(true);
576
- const success = saveBlocks();
+ const success = await saveBlocks();
577
setOpenPopconfirm(false);
578
setPopconfirmLoading(false);
579
if (success) {
0 commit comments