-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44255d2
commit 0b672f3
Showing
66 changed files
with
1,213 additions
and
851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
# npx lint-staged | ||
cd batcher-ui && npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
import { BigMapEvent } from 'src/types/events'; | ||
import type { BigMapEvent } from '@/types'; | ||
|
||
export const newEvent = (event: BigMapEvent) => | ||
({ | ||
type: 'NEW_EVENT', | ||
payload: { event }, | ||
} as const); | ||
|
||
export const closeToast = () => | ||
({ | ||
type: 'CLOSE_TOAST', | ||
} as const); | ||
export const closeToast = () => | ||
({ | ||
type: 'CLOSE_TOAST', | ||
} as const); | ||
|
||
export const newError = (errorContent: string) => | ||
({ | ||
type: 'NEW_ERROR', | ||
payload: { errorContent }, | ||
} as const); | ||
export const newError = (errorContent: string) => | ||
({ | ||
type: 'NEW_ERROR', | ||
payload: { errorContent }, | ||
} as const); | ||
|
||
export const newInfo = (infoContent: string) => | ||
({ | ||
type: 'NEW_INFO', | ||
payload: { infoContent }, | ||
} as const); | ||
export const newInfo = (infoContent: string) => | ||
({ | ||
type: 'NEW_INFO', | ||
payload: { infoContent }, | ||
} as const); | ||
|
||
export type EventActions = | ||
| ReturnType<typeof newEvent> | ||
| ReturnType<typeof newError> | ||
| ReturnType<typeof newInfo> | ||
| ReturnType<typeof closeToast>; | ||
export type EventActions = | ||
| ReturnType<typeof newEvent> | ||
| ReturnType<typeof newError> | ||
| ReturnType<typeof newInfo> | ||
| ReturnType<typeof closeToast>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.