Skip to content

Commit

Permalink
chore(react): fix the storybook not starting after breaking changes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 authored Oct 2, 2024
1 parent 92b6259 commit f39268b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions account-kit/react/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import "./tailwind.css";

import { alchemy, sepolia } from "@account-kit/infra";
import type { Preview } from "@storybook/react";
import { initialize, mswLoader } from "msw-storybook-addon";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { AlchemyAccountProvider, createConfig } from "../src";
import { initialize, mswLoader } from "msw-storybook-addon";
import React, { useEffect } from "react";
import { sepolia } from "@account-kit/infra";
import { AlchemyAccountProvider, createConfig } from "../src";

const queryClient = new QueryClient();

initialize();

const config = createConfig(
{
rpcUrl: "/api/rpc",
transport: alchemy({ rpcUrl: "/api/rpc" }),
chain: sepolia,
ssr: true,
},
Expand Down

0 comments on commit f39268b

Please sign in to comment.