Skip to content

Commit

Permalink
some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
swordfest committed Jul 15, 2024
1 parent 136d8ce commit 158ff09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions components/countries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ export default function Countries(props: any) {
setPageFilter(1);
}
};


const fetcher = (...args: [any, any]) =>
fetch(...args).then((res) => res.json());

const { data: countries, error } = useSWR(
"https://shadowmere.akiel.dev/api/country-codes",
fetcher
);

if (error) return <>Error</>;

Expand Down
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ const nextConfig = {
{
protocol: 'https',
hostname: 'vangogh.teespring.com',
port: '',
port: '80',
pathname: '/v3/image/**',
},
{
protocol: 'https',
hostname: 'mockup-api.teespring.com',
port: '',
port: '80',
pathname: '/v3/image/**',
},
],
Expand Down

0 comments on commit 158ff09

Please sign in to comment.