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 05310bf commit 844530eCopy full SHA for 844530e
web/src/store/dispatchers/snippets.ts
@@ -103,6 +103,7 @@ export const formatFileDispatcher: Dispatcher =
103
const { editor: {code}, runTarget: { backend } } = getState();
104
const res = await client.formatCode(code, backend);
105
106
+ dispatch(newLoadingAction(false));
107
if (res.formatted?.length) {
108
dispatch(newFormatCodeAction(res.formatted));
109
}
0 commit comments