-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update ui #7
Conversation
…o into feat/home-page
…o into feat/home-page
…o into feat/home-page
…o into feat/home-page
…o into feat/home-page
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
isConnected ? openAccountModal() : openConnectModal(); | ||
}} | ||
> | ||
{' '} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{' '} |
src/app/layout.tsx
Outdated
@@ -17,7 +21,13 @@ export default function RootLayout({ | |||
}>) { | |||
return ( | |||
<html lang="en"> | |||
<body className={inter.className}>{children}</body> | |||
<body className={inter.className + ' relative'}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use the classNames function or use template strings.
|
||
export default function Home() { | ||
redirect('/stake'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
src/components/StakeCard/index.tsx
Outdated
export function StakeCard({ setIsOpen }: StakeCardProps) { | ||
const { address } = useAccount(); | ||
const { data, isLoading, isError } = useQuery({ | ||
queryKey: ['stake'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queryKey: ['stake'], | |
queryKey: ['stake', address], |
should response to adderss
const [allowanceSet, setAllowanceSet] = useState(BigInt(0)); | ||
|
||
const { data: allowanceFetch } = useSuspenseQuery({ | ||
queryKey: ['allowance'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queryKey: ['allowance'], | |
queryKey: ['allowance', address], |
ditto
}); | ||
|
||
const { data: balance } = useQuery({ | ||
queryKey: ['balance'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queryKey: ['balance'], | |
queryKey: ['balance', address], |
ditto
…o into feat/home-page
Pull Request
Description
Related Issue
Closes SW-0000 MF-6063 MF-6064 MF-6067
Checklist