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

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
izaakwalz committed Jul 10, 2024
1 parent 67f30d1 commit c9321d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 65 deletions.
2 changes: 1 addition & 1 deletion src/app/(dashboard)/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ProfileHeader from './_components/profile-header';
import { useSubstrateContext } from '@/context/polkadot-contex';
import { useCallback, useEffect, useState } from 'react';

export default function App() {
export default function Page() {
const { address } = useSubstrateContext();
const [user, setUser] = useState<any>();
const [lists, setLists] = useState<any>([]);
Expand Down
63 changes: 0 additions & 63 deletions src/app/(dashboard)/test/page.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/context/polkadot-contex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface SubstrateProps {
children?: React.ReactNode;
}

if (typeof window !== 'undefined') {
if (typeof window === 'undefined') {
console.log('Window not found');
}

Expand Down

0 comments on commit c9321d9

Please sign in to comment.