Skip to content

Commit

Permalink
Merge pull request #595 from cocrafts/ltminhthu/landing-page
Browse files Browse the repository at this point in the history
[landing] fix landing page build failed
  • Loading branch information
tanlethanh authored Jul 12, 2024
2 parents 2d4f314 + f71220f commit 152bd51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { FC } from 'react';
import { Button, Image } from '@walless/ui';
import Anchor from 'components/Anchor';
import Link from 'next/link';
import { resources } from 'utils/config';

export const HomeButton: FC = () => {
return (
<Anchor href="/">
<Button transparent horizontal alignItems="center">
<Link href="/">
<Button transparent alignItems="center">
<Image
src={resources.walless.icon}
defaultSource={resources.walless.icon}
Expand All @@ -23,7 +23,7 @@ export const HomeButton: FC = () => {
resizeMode="contain"
/>
</Button>
</Anchor>
</Link>
);
};

Expand Down
1 change: 0 additions & 1 deletion apps/landing/components/layouts/Home/Navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
modalActions,
View,
} from '@walless/gui';
import { View } from '@walless/gui';
import { Button } from '@walless/ui';
import { ContainerStack } from 'components/styled';
import { useRouter } from 'next/router';
Expand Down

0 comments on commit 152bd51

Please sign in to comment.