-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: rename and rearrange components (#2676)
* Refactor: rename and rearrange components * Move useWcUri * Show/hide popup on session change * Remove auto-pasting
- Loading branch information
Showing
36 changed files
with
425 additions
and
429 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
File renamed without changes.
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
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
...etconnect/SessionManager/ErrorMessage.tsx → ...ts/walletconnect/WcErrorMessage/index.tsx
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,17 +1,17 @@ | ||
import { Typography } from '@mui/material' | ||
import type { ReactElement } from 'react' | ||
|
||
import { WalletConnectHeader } from './Header' | ||
|
||
import WcLogoHeader from '../WcLogoHeader' | ||
import css from './styles.module.css' | ||
|
||
export const WalletConnectErrorMessage = ({ error }: { error: Error }): ReactElement => { | ||
const WcErrorMessage = ({ error }: { error: Error }) => { | ||
return ( | ||
<div className={css.errorContainer}> | ||
<WalletConnectHeader error /> | ||
<WcLogoHeader error /> | ||
|
||
<Typography title={error.message} className={css.errorMessage}> | ||
{error.message} | ||
</Typography> | ||
</div> | ||
) | ||
} | ||
|
||
export default WcErrorMessage |
Oops, something went wrong.