Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/chain/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { supabase, type Storyline } from "../../../lib/supabase";
import { useChainPlot } from "../../hooks/useChainPlot";
import type { PublishState } from "../../hooks/usePublish";
import Link from "next/link";
import { ConnectWallet } from "../../components/ConnectWallet";

const STATE_LABELS: Record<PublishState, string> = {
idle: "",
Expand Down Expand Up @@ -60,6 +61,7 @@ export default function ChainPlotPage() {
<p className="text-muted text-sm">
Connect your wallet to chain a plot.
</p>
<ConnectWallet />
</div>
);
}
Expand Down
2 changes: 2 additions & 0 deletions src/app/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { usePublish, type PublishState } from "../../hooks/usePublish";
import { storyFactoryAbi } from "../../../lib/contracts/abi";
import { STORY_FACTORY } from "../../../lib/contracts/constants";
import Link from "next/link";
import { ConnectWallet } from "../../components/ConnectWallet";

const STATE_LABELS: Record<PublishState, string> = {
idle: "",
Expand Down Expand Up @@ -42,6 +43,7 @@ export default function CreateStorylinePage() {
<p className="text-muted text-sm">
Connect your wallet to create a storyline.
</p>
<ConnectWallet />
</div>
);
}
Expand Down
2 changes: 2 additions & 0 deletions src/app/dashboard/reader/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useQuery } from "@tanstack/react-query";
import { supabase, type Donation } from "../../../../lib/supabase";
import { ReaderPortfolio } from "../../../components/ReaderPortfolio";
import { formatUnits } from "viem";
import { ConnectWallet } from "../../../components/ConnectWallet";

const PAGE_SIZE = 50;

Expand Down Expand Up @@ -56,6 +57,7 @@ export default function ReaderDashboard() {
<p className="text-muted text-sm">
Connect your wallet to view your dashboard.
</p>
<ConnectWallet />
</div>
);
}
Expand Down
2 changes: 2 additions & 0 deletions src/app/dashboard/writer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { DeadlineCountdown } from "../../../components/DeadlineCountdown";
import { ClaimRoyalties } from "../../../components/ClaimRoyalties";
import { WriterTradingStats } from "../../../components/WriterTradingStats";
import Link from "next/link";
import { ConnectWallet } from "../../../components/ConnectWallet";
import { type Address } from "viem";

async function fetchWriterStorylines(
Expand Down Expand Up @@ -39,6 +40,7 @@ export default function WriterDashboard() {
<p className="text-muted text-sm">
Connect your wallet to view your dashboard.
</p>
<ConnectWallet />
</div>
);
}
Expand Down
Loading