Skip to content

Commit

Permalink
Fix code style issues with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Apr 6, 2022
1 parent f21cd19 commit 6d6fe3a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions src/custom/state/orders/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ export const cancelOrdersBatch = createAction<CancelOrdersBatchParams>('order/ca

export const clearOrders = createAction<{ chainId: ChainId }>('order/clearOrders')

export const updateLastCheckedBlock =
createAction<{ chainId: ChainId; lastCheckedBlock: number }>('order/updateLastCheckedBlock')
export const updateLastCheckedBlock = createAction<{ chainId: ChainId; lastCheckedBlock: number }>(
'order/updateLastCheckedBlock'
)

export type SetIsOrderUnfillableParams = {
id: OrderID
Expand Down
5 changes: 3 additions & 2 deletions src/state/mint/v3/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export enum Bound {
UPPER = 'UPPER',
}

export const typeInput =
createAction<{ field: Field; typedValue: string; noLiquidity: boolean }>('mintV3/typeInputMint')
export const typeInput = createAction<{ field: Field; typedValue: string; noLiquidity: boolean }>(
'mintV3/typeInputMint'
)
export const typeStartPriceInput = createAction<{ typedValue: string }>('mintV3/typeStartPriceInput')
export const typeLeftRangeInput = createAction<{ typedValue: string }>('mintV3/typeLeftRangeInput')
export const typeRightRangeInput = createAction<{ typedValue: string }>('mintV3/typeRightRangeInput')
Expand Down
10 changes: 6 additions & 4 deletions src/state/user/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ export interface SerializedPair {
export const updateMatchesDarkMode = createAction<{ matchesDarkMode: boolean }>('user/updateMatchesDarkMode')
export const updateUserDarkMode = createAction<{ userDarkMode: boolean }>('user/updateUserDarkMode')
export const updateUserExpertMode = createAction<{ userExpertMode: boolean }>('user/updateUserExpertMode')
export const updateRecipientToggleVisible =
createAction<{ recipientToggleVisible: boolean }>('user/recipientToggleVisible')
export const updateRecipientToggleVisible = createAction<{ recipientToggleVisible: boolean }>(
'user/recipientToggleVisible'
)
export const updateUserLocale = createAction<{ userLocale: SupportedLocale }>('user/updateUserLocale')
export const updateShowSurveyPopup = createAction<{ showSurveyPopup: boolean }>('user/updateShowSurveyPopup')
export const updateUserClientSideRouter = createAction<{ userClientSideRouter: boolean }>(
Expand All @@ -32,6 +33,7 @@ export const updateUserDeadline = createAction<{ userDeadline: number }>('user/u
export const addSerializedToken = createAction<{ serializedToken: SerializedToken }>('user/addSerializedToken')
export const removeSerializedToken = createAction<{ chainId: number; address: string }>('user/removeSerializedToken')
export const addSerializedPair = createAction<{ serializedPair: SerializedPair }>('user/addSerializedPair')
export const removeSerializedPair =
createAction<{ chainId: number; tokenAAddress: string; tokenBAddress: string }>('user/removeSerializedPair')
export const removeSerializedPair = createAction<{ chainId: number; tokenAAddress: string; tokenBAddress: string }>(
'user/removeSerializedPair'
)
export const toggleURLWarning = createAction<void>('app/toggleURLWarning') // MOD - legacy Uni we want to keep

0 comments on commit 6d6fe3a

Please sign in to comment.