Revert "feat: add webview listener for index progress to load submenu items"
This commit is contained in:
parent
5362dec60d
commit
be2e0a2014
1 changed files with 0 additions and 10 deletions
|
|
@ -594,16 +594,6 @@ export const SubmenuContextProvidersProvider = ({
|
|||
[loadSubmenuItems],
|
||||
);
|
||||
|
||||
useWebviewListener(
|
||||
"indexProgress",
|
||||
async (data) => {
|
||||
if (data.status === "done") {
|
||||
loadSubmenuItems("dependsOnIndexing");
|
||||
}
|
||||
},
|
||||
[loadSubmenuItems],
|
||||
);
|
||||
|
||||
// Reload all submenu items on the initial config load
|
||||
useEffect(() => {
|
||||
if (!submenuContextProviders.length) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue