add wallet connector settings
This commit is contained in:
1 parent
bad8cee207
commit
c4ab43fae5
1 file changed
+11
-2
@@ -7,7 +7,10 @@ import LoadingButton from "@mui/lab/LoadingButton";
|
|||||||
import { useIsAdmin } from "../../Hooks/useIsAdmin";
|
import { useIsAdmin } from "../../Hooks/useIsAdmin";
|
||||||
import Dialog from "../../Components/Dialog";
|
import Dialog from "../../Components/Dialog";
|
||||||
import ConfigBox from "../../Components/ConfigBox";
|
import ConfigBox from "../../Components/ConfigBox";
|
||||||
import WalletConnector from "../../Components/WalletConnector";
|
import {
|
||||||
|
WalletMultiButton,
|
||||||
|
WalletDisconnectButton,
|
||||||
|
} from "@solana/wallet-adapter-react-ui";
|
||||||
|
|
||||||
//Utils
|
//Utils
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
@@ -370,7 +373,13 @@ const Settings = () => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Box>
|
<Box>
|
||||||
<WalletConnector />
|
<Stack
|
||||||
|
direction="row"
|
||||||
|
spacing={2}
|
||||||
|
>
|
||||||
|
<WalletMultiButton />
|
||||||
|
<WalletDisconnectButton />
|
||||||
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user