mars-v2-frontend/src/store/slices/common.ts
Linkie Link 03ce931687
Oracle update button (#606)
* feat: added a resync button to the header

* fix: updated the text

* fix: remove pulsing
2023-11-02 09:40:17 +01:00

19 lines
450 B
TypeScript

import { GetState, SetState } from 'zustand'
export default function createCommonSlice(set: SetState<CommonSlice>, get: GetState<CommonSlice>) {
return {
accounts: null,
balances: [],
creditAccounts: null,
hlsAccounts: null,
isOpen: true,
selectedAccount: null,
focusComponent: null,
accountDetailsExpanded: false,
migrationBanner: true,
tutorial: true,
useMargin: true,
isOracleStale: false,
}
}