Skip to content

Commit 56cb8be

Browse files
author
Antoine de Chevigné
committed
remove useless fns
1 parent 1f3d057 commit 56cb8be

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

src/stores/currentWorkspace.js

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -124,29 +124,6 @@ export const useCurrentWorkspaceStore = defineStore('currentWorkspace', {
124124
explorer: workspace.explorer ? { id: workspace.explorer.id, name: workspace.explorer.name } : null
125125
});
126126
},
127-
128-
// Orbit chain methods
129-
async loadOrbitConfig(serverInstance) {
130-
if (!serverInstance) {
131-
console.warn('Server instance required to load orbit config');
132-
return;
133-
}
134-
try {
135-
const response = await serverInstance.getOrbitConfig(this.id);
136-
this.orbitConfig = response.data?.orbitConfig || null;
137-
} catch (error) {
138-
console.error('Failed to load orbit config:', error);
139-
this.orbitConfig = null;
140-
}
141-
},
142-
143-
updateOrbitConfig(config) {
144-
this.orbitConfig = config;
145-
},
146-
147-
clearOrbitConfig() {
148-
this.orbitConfig = null;
149-
}
150127
},
151128

152129
getters: {
@@ -225,6 +202,7 @@ export const useCurrentWorkspaceStore = defineStore('currentWorkspace', {
225202
chain: this.viemChainConfig,
226203
transport: this.viemTransportConfig
227204
})
228-
}
205+
},
206+
229207
}
230208
});

0 commit comments

Comments
 (0)