Skip to content

Commit

Permalink
Update AddressBar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanniegb committed Sep 17, 2024
1 parent 520bb2f commit 6e747ff
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frontend/src/app/components/lib/AddressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,11 @@ import CopyButton from "../internal/util/CopyButton";
const UserModal = () => {
const { address } = useAccount();
const { disconnect } = useDisconnect();
const [isCopied, setIsCopied] = useState(false);
const [imageError, setImageError] = useState(false);
const { data: starkProfile } = useStarkProfile({
address,
});

useEffect(() => {
const id = setTimeout(() => {
setIsCopied(false);
}, 1500);

return () => clearTimeout(id);
}, [isCopied]);

return (
<GenericModal
popoverId="user-popover"
Expand Down

0 comments on commit 6e747ff

Please sign in to comment.