Skip to content

Commit

Permalink
fix: remove duplicate code & update AppConfig Type
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRohlf committed Nov 8, 2024
1 parent 9678b96 commit 6f9e2fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/@context/MarketMetadata/_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export interface AppConfig {
roughTxGasEstimate: number
}
showPreviewAlert: string
contractingProvider: {
enable: boolean
endpoint: string
}
networkAlertConfig: {
// Refresh interval for network status - 30 sec
refreshInterval: number
Expand Down
4 changes: 0 additions & 4 deletions src/@context/UserPreferences.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ interface UserPreferencesValue {
setAutomationWalletJSON: (encryptedWallet: string) => void
automationWalletMode: AUTOMATION_MODES
setAutomationWalletMode: (mode: AUTOMATION_MODES) => void
showOnboardingModule: boolean
setShowOnboardingModule: (value: boolean) => void
onboardingStep: number
setOnboardingStep: (step: number) => void
}

const UserPreferencesContext = createContext(null)
Expand Down

0 comments on commit 6f9e2fc

Please sign in to comment.