fix: change file paths
This commit is contained in:
parent
523f016a7c
commit
b3ead435cf
@ -1,7 +1,7 @@
|
||||
import Link from "next/link";
|
||||
import { redirect } from "next/navigation";
|
||||
import { getAuth } from "@/lib/auth";
|
||||
import Editor from "@/components/editor/Editor";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function Home() {
|
||||
const auth = await getAuth();
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Metadata } from "next";
|
||||
import { getNotes } from "@/lib/notes";
|
||||
import NoteCard from "@/components/NoteCard";
|
||||
import NoteCard from "@/components/ui/NoteCard";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Notes - Rhyme",
|
||||
|
@ -2,7 +2,7 @@ import Link from "next/link";
|
||||
import { ArrowRightFromLine, CircleQuestionMark, List, Plus, UserRound, UserRoundMinus } from "lucide-react";
|
||||
import { logOut } from "@/app/actions";
|
||||
import { getAuth } from "@/lib/auth";
|
||||
import HeaderButton from "./HeaderButton";
|
||||
import HeaderButton from "./ui/HeaderButton";
|
||||
|
||||
export default async function Header({ allowExport = false }: { allowExport?: boolean }) {
|
||||
const auth = await getAuth();
|
||||
|
@ -3,7 +3,7 @@ import { revalidatePath } from "next/cache";
|
||||
import { X } from "lucide-react";
|
||||
import { notesTable } from "@/lib/db/schema";
|
||||
import { deleteNote } from "@/lib/notes";
|
||||
import IconOnlyButton from "./ui/IconOnlyButton";
|
||||
import IconOnlyButton from "./IconOnlyButton";
|
||||
|
||||
export default function NoteCard({ note }: { note: typeof notesTable.$inferSelect }) {
|
||||
const handleDeleteNote = async () => {
|
Loading…
x
Reference in New Issue
Block a user