Skip to content

Commit

Permalink
remove success notification entirely from useConnectWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
NowGoody committed Nov 27, 2024
1 parent caae2d6 commit 3f71b1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/hooks/useConnectWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const useConnectWallet = (setWalletId) => {
},
onSuccess: (walletAddress) => {
setWalletId(walletAddress);
// notifySuccess('Wallet successfully connected');
},
onError: (error) => {
console.error('Wallet connection failed:', error);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/spotnet/dont_miss/DontMiss.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ReactComponent as Rocket } from 'assets/icons/rocket.svg';
import { ReactComponent as Hand } from 'assets/images/hand.svg';
import { ReactComponent as Star } from 'assets/particles/star.svg';
import { useNavigate } from 'react-router-dom';
import { Notifier, notify } from 'components/Notifier/Notifier';

const DontMiss = ({ walletId }) => {
const navigate = useNavigate();
Expand Down

0 comments on commit 3f71b1b

Please sign in to comment.