Skip to content

Commit

Permalink
Fix imports and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Feb 21, 2024
1 parent 4bf1ad0 commit 4e22d11
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import './globals.css'
import '@/app/globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import Header from './components/Header'
import Header from '@/app/components/Header'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
title: 'Suspense',
description: 'Record your suspension settings',
}

export default function RootLayout({
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Profiles from './profiles/page'
import Profiles from '@/app/profiles/page'
export default function Home() {
return (
<Profiles />
Expand Down
4 changes: 2 additions & 2 deletions app/profiles/create/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use client"
import React, {useState } from 'react'
import { useRouter } from 'next/navigation'
import LabelAndTextField from '../../components/form/LabelAndTextField'
import Submit from '../../components/form/Submit'
import LabelAndTextField from '@/app/components/form/LabelAndTextField'
import Submit from '@/app/components/form/Submit'

export default function ProfileCreate() {
const router = useRouter()
Expand Down
6 changes: 3 additions & 3 deletions app/profiles/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client";
import React,{useEffect, useState} from "react";
import useSWR from "swr";
import { fetcher } from "../lib";
import Profile from "../components/Profile";
import { ProfileModel } from "../types";
import { fetcher } from "@/app/lib";
import Profile from "@/app/components/Profile";
import { ProfileModel } from "@/app/types";
import Link from "next/link";

export default function Profiles() {
Expand Down

0 comments on commit 4e22d11

Please sign in to comment.