Skip to content

Commit

Permalink
fix: demo app not building (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 authored Jun 18, 2024
1 parent d2f97c5 commit 6afff79
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions account-kit/core/src/store/client.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { AlchemySignerStatus, AlchemyWebSigner } from "@account-kit/signer";
import type { NoUndefined } from "@aa-sdk/core";
import { AlchemySignerStatus, AlchemyWebSigner } from "@account-kit/signer";
import type { Chain } from "viem";
import {
createJSONStorage,
persist,
subscribeWithSelector,
} from "zustand/middleware.js";
} from "zustand/middleware";
import { createStore } from "zustand/vanilla";
import { DEFAULT_IFRAME_CONTAINER_ID } from "../createConfig.js";
import type { SupportedAccountTypes } from "../types.js";
Expand Down
2 changes: 1 addition & 1 deletion account-kit/core/src/store/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
createJSONStorage,
persist,
subscribeWithSelector,
} from "zustand/middleware.js";
} from "zustand/middleware";
import { createStore } from "zustand/vanilla";
import type { Connection } from "../types.js";
import { bigintMapReplacer } from "../utils/replacer.js";
Expand Down
6 changes: 3 additions & 3 deletions examples/ui-demo/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import {
AuthCard,
AuthType,
DemoSet,
useAuthModal,
useAuthError,
useAuthModal,
useUser,
} from "@alchemy/aa-alchemy/react";
} from "@account-kit/react";
// eslint-disable-next-line import/extensions
import { ChevronRight } from "@/src/components/icons/chevron";
import { MailIcon } from "@/src/components/icons/mail";
import { Input, useLogout } from "@alchemy/aa-alchemy/react";
import { Input, useLogout } from "@account-kit/react";
import { useMemo } from "react";

export default function Home() {
Expand Down
4 changes: 2 additions & 2 deletions examples/ui-demo/src/app/providers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import { createConfig } from "@alchemy/aa-alchemy/config";
import { AlchemyAccountProvider, AlchemyAccountsProviderProps } from "@alchemy/aa-alchemy/react";
import { sepolia } from "@aa-sdk/core";
import { createConfig } from "@account-kit/core";
import { AlchemyAccountProvider, AlchemyAccountsProviderProps } from "@account-kit/react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { PropsWithChildren, Suspense } from "react";

Expand Down
2 changes: 1 addition & 1 deletion examples/ui-demo/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withAccountKitUi } from "@alchemy/aa-alchemy/tailwind";
import { withAccountKitUi } from "@account-kit/react/tailwind";
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";

Expand Down

0 comments on commit 6afff79

Please sign in to comment.