Skip to content

Commit

Permalink
Merge pull request #4266 from systeminit/fix(web)--Remove-the-unneces…
Browse files Browse the repository at this point in the history
…sary-window.reload-on-module-install

fix(web): Remove the unnecessary window.reload on module install
  • Loading branch information
stack72 authored Aug 1, 2024
2 parents c10952e + 5252228 commit 3893fa9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/web/src/store/module.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,14 +464,6 @@ export const useModuleStore = () => {

const realtimeStore = useRealtimeStore();
realtimeStore.subscribe(this.$id, `workspace/${workspaceId}`, [
{
eventType: "ModuleImported",
callback: () => {
if (!this.installingModuleId) {
window.location.reload();
}
},
},
{
eventType: "AsyncFinish",
callback: async ({ id }: { id: string }) => {
Expand Down

0 comments on commit 3893fa9

Please sign in to comment.