-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Remove unused code that was duplicated #1230
Changes from 4 commits
55566e4
a5296ef
4b9a8fd
ed069cf
8543369
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,6 @@ export const SAFE_PENDING_CREATION_STORAGE_KEY = 'pendingSafe' | |
export type PendingSafeData = NewSafeFormData & { | ||
txHash?: string | ||
tx?: PendingSafeTx | ||
safeAddress?: string | ||
saltNonce: number | ||
Comment on lines
-29
to
-30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are already part of |
||
} | ||
|
||
export const CreateSafeStatus = ({ setProgressColor }: StepRenderProps<NewSafeFormData>) => { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,6 @@ const Open: NextPage = () => { | |
} | ||
}, [router, shouldUseNewCreation]) | ||
|
||
if (shouldUseNewCreation) { | ||
return <></> | ||
} | ||
Comment on lines
-20
to
-22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was causing hydration errors on my end but now there is a small loading flash which is also not ideal. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we not render different links on the welcome page instead of replacing the route? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea! I will try that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems to work good. I also had to update it for the safe app landing pages since they also link to the safe creation but I think its fine cc @iamacook |
||
|
||
return ( | ||
<main> | ||
<Head> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover from early implementation