Skip to content

Commit

Permalink
fix: lint + types
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Nov 20, 2023
1 parent 29c3013 commit 56c7910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button, CardActions, Divider, Grid, Typography } from '@mui/material'
import type { ReactElement, ReactNode } from 'react'
import type { ReactElement } from 'react'

import TxCard from '../../common/TxCard'
import RecoveryGuardians from '@/public/images/settings/spending-limit/beneficiary.svg'
Expand All @@ -10,7 +10,7 @@ import RecoveryExecution from '@/public/images/transactions/recovery-execution.s
import css from './styles.module.css'
import commonCss from '@/components/tx-flow/common/styles.module.css'

const RecoverySteps: Array<{ Icon: ReactElement; title: string; subtitle: ReactNode }> = [
const RecoverySteps = [
{
Icon: RecoveryGuardians,
title: 'Choose a guardian and set a delay',
Expand Down
2 changes: 1 addition & 1 deletion src/store/recoverySlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { slice, selector } = makeLoadableSlice('recovery', initialState)

export const recoverySlice = slice

const selectRecovery = createSelector(selector, (recovery) => recovery.data)
export const selectRecovery = createSelector(selector, (recovery) => recovery.data)

export const selectRecoveryByGuardian = createSelector(
[selectRecovery, (_: RootState, walletAddress: string) => walletAddress],
Expand Down

0 comments on commit 56c7910

Please sign in to comment.