diff --git a/web/package.json b/web/package.json index cd15ad8..847ca1d 100644 --- a/web/package.json +++ b/web/package.json @@ -75,13 +75,13 @@ "@cyntler/react-doc-viewer": "^1.17.0", "@filebase/client": "^0.0.5", "@kleros/curate-v2-templates": "workspace:^", - "@kleros/ui-components-library": "^2.13.1", + "@kleros/ui-components-library": "^2.15.0", "@middy/core": "^5.3.5", "@middy/http-json-body-parser": "^5.3.5", "@sentry/react": "^7.93.0", "@sentry/tracing": "^7.93.0", "@supabase/supabase-js": "^2.39.3", - "@tanstack/react-query": "^4.28.0", + "@tanstack/react-query": "^5.40.1", "@web3modal/ethereum": "^2.7.1", "@web3modal/react": "^2.2.2", "@web3modal/wagmi": "^5.1.6", @@ -98,9 +98,9 @@ "moment": "^2.30.1", "overlayscrollbars": "^2.4.6", "overlayscrollbars-react": "^0.5.3", - "react": "^18.2.0", + "react": "^18.3.1", "react-chartjs-2": "^4.3.1", - "react-dom": "^18.2.0", + "react-dom": "^18.3.1", "react-error-boundary": "^3.1.4", "react-identicons": "^1.2.5", "react-is": "^18.2.0", diff --git a/web/src/layout/Header/navbar/Menu/Settings/General.tsx b/web/src/layout/Header/navbar/Menu/Settings/General.tsx index d5656f3..b1ff04a 100644 --- a/web/src/layout/Header/navbar/Menu/Settings/General.tsx +++ b/web/src/layout/Header/navbar/Menu/Settings/General.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { useMemo } from "react"; import styled from "styled-components"; import { useAccount, useDisconnect } from "wagmi"; import { Button } from "@kleros/ui-components-library"; @@ -64,13 +64,29 @@ const UserContainer = styled.div` gap: 12px; `; +const StyledA = styled.a` + text-decoration: none; + label { + cursor: pointer; + color: ${({ theme }) => theme.primaryBlue}; + } + :hover { + text-decoration: underline; + } +`; + export const DisconnectWalletButton: React.FC = () => { const { disconnect } = useDisconnect(); return