fix: change file paths

This commit is contained in:
Kirill Siukhin 2025-07-10 17:39:46 +05:00
parent 523f016a7c
commit b3ead435cf
5 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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",

View File

@ -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();

View File

@ -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 () => {