refactor(store): remove @multica/fetch dependency

- Move gatewayUrl into gateway store state with setGatewayUrl action
- layout.tsx uses useGatewayStore.getState().setGatewayUrl() directly
- Remove @multica/fetch from store and web package.json dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-02-02 16:23:06 +08:00
parent a1c28b3d04
commit e491949749
5 changed files with 13 additions and 14 deletions

View file

@ -9,7 +9,6 @@
"lint": "eslint"
},
"dependencies": {
"@multica/fetch": "workspace:*",
"@multica/sdk": "workspace:*",
"@multica/store": "workspace:*",
"@multica/ui": "workspace:*",