Skip to content
Snippets Groups Projects
Commit 3e9f9d2f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't ignore promise

parent ed89cc84
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!197Resolve "[MIN-282] Plugins: refresh plugin"
......@@ -109,11 +109,11 @@ export const useLoadPlugin = ({
await handleLoadPlugin();
};
const togglePlugin = (): void => {
const togglePlugin = async (): Promise<void> => {
if (isPluginActive) {
handleUnloadPlugin();
} else {
handleLoadPlugin();
await handleLoadPlugin();
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment