Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
log data to console
Browse files Browse the repository at this point in the history
  • Loading branch information
statictype committed Mar 14, 2023
1 parent 9687923 commit 0cdca20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import { Page } from "./templates/base.js"

export function Dashboard() {
const hello = trpc.something.useQuery({ greeting: "Hello", name: "Client" })
!hello.data ? console.log("Loading data...") : console.log(hello.data);

return (
<Page>
<CenteredCard>
<Link to="/create-multisig">
<div className="flex flex-col gap-4 wrap">
{!hello.data && <div>Loading...</div>}
<p>{hello.data}</p>
<Button iconLeft={<IconPlus />}>New multisig</Button>
</div>
</Link>
Expand Down

0 comments on commit 0cdca20

Please sign in to comment.