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

Commit

Permalink
refactor: replace @ as import alias for relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nekofar committed Jan 28, 2023
1 parent a6d3174 commit c395822
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pages/[tokenId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React, {Fragment, useEffect, useState} from "react";
import {GetStaticPaths, GetStaticProps, GetStaticPropsContext} from "next";
import Image from "next/image";
import {CheckIcon, ChevronUpDownIcon} from '@heroicons/react/20/solid'
import {Listbox, Switch, Transition} from "@headlessui/react";
import {Listbox, Transition} from "@headlessui/react";
import Head from "next/head";
import {NextSeo} from "next-seo";
import Content from "../components/content";
import Header from "../components/header";
import Content from "@/components/content";
import Header from "@/components/header";
import clsx from "clsx";

const mimeOptions = [
Expand Down
4 changes: 2 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../styles/globals.css'
import '@/styles/globals.css'
import type {AppProps} from 'next/app'
import {DefaultSeo} from "next-seo";
import SEO from '../next-seo.config';
import SEO from '@/next-seo.config';

function MyApp({Component, pageProps}: AppProps) {
return (
Expand Down
5 changes: 2 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import type {NextPage} from 'next'
import Head from 'next/head'
import {useRouter} from "next/router";
import React, {useState} from "react";
import Footer from "../components/footer";
import Header from "../components/header";
import Content from "../components/content";
import Header from "@/components/header";
import Content from "@/components/content";

const Home: NextPage = () => {
const router = useRouter()
Expand Down

0 comments on commit c395822

Please sign in to comment.