-
- Downloads
Add `use-temp-storage` hook (#48987)
* Add `use-temp-storage` hook * Remove try/catch * Add reducer * Add tests * Use RTK to create a new slice and reducer
Showing
- frontend/src/metabase-types/store/app.ts 14 additions, 0 deletionsfrontend/src/metabase-types/store/app.ts
- frontend/src/metabase-types/store/mocks/app.ts 1 addition, 0 deletionsfrontend/src/metabase-types/store/mocks/app.ts
- frontend/src/metabase/common/hooks/use-temp-storage/index.ts 1 addition, 0 deletionsfrontend/src/metabase/common/hooks/use-temp-storage/index.ts
- frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.ts 26 additions, 0 deletions...etabase/common/hooks/use-temp-storage/use-temp-storage.ts
- frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx 76 additions, 0 deletions...mon/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx
- frontend/src/metabase/redux/app.ts 30 additions, 2 deletionsfrontend/src/metabase/redux/app.ts
Please register or sign in to comment