Skip to content

Commit f3191c2

Browse files
committed
fixed border country link
1 parent 28f8aad commit f3191c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/country/[cca3]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const CountryPage = async ({ params }: { params: { cca3: string } }) => {
9797
{borderCountries.length > 0 ? (
9898
<div className="flex gap-3 flex-wrap">
9999
{borderCountries.map((borderCountry: Country) => (
100-
<Link href={`/${borderCountry.cca3}`} key={country.cca3}>
100+
<Link href={`/country/${borderCountry.cca3}`} key={country.cca3}>
101101
<Button
102102
variant="outline"
103103
className="shadow-smrounded-lg px-3 dark:bg-gray-700 dark:border-gray-500/50"

0 commit comments

Comments
 (0)