Skip to content

Commit

Permalink
🚨 fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudbrault committed Jul 6, 2023
1 parent 9c8e0c3 commit 3c01364
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/pages/location/[name].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
IPokemonEncounter,
} from '@/types';
import { removeDash } from '@/utils';
import { FaChevronLeft } from '@meronex/icons/fa';
import { ColumnDef } from '@tanstack/react-table';
import { GetServerSidePropsContext } from 'next';
import Link from 'next/link';
Expand Down Expand Up @@ -222,12 +223,12 @@ function LocationCard({ name }: Props) {
</table>
</div>
</section>
<Button
href="/locations"
className="back"
title="Back to Locations"
icon
/>
<Button intent="back" asChild>
<Link href="/locations">
<FaChevronLeft />
Back to Locations
</Link>
</Button>
</main>
</>
);
Expand Down

0 comments on commit 3c01364

Please sign in to comment.