* feat: added a resync button to the header * fix: updated the text * fix: remove pulsing
19 lines
450 B
TypeScript
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,
|
|
}
|
|
}
|