- Added 'onDelete' and 'onNotes' support to TaskItem. - Implemented hover actions (Delete and Notes icons) for tasks. - Added Notes Modal for editing task markdown content. - Simplified navigation animation to remove blank flash (single-phase slide-in). - Fixed syntax error in updateTask function. - Updated styles for modal and task actions.
24 lines
484 B
TypeScript
24 lines
484 B
TypeScript
'use client';
|
|
|
|
import { SessionProvider } from 'next-auth/react';
|
|
import './globals.css';
|
|
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
|
|
const inter = Inter({ subsets: ['latin'] });
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={inter.className}>
|
|
<SessionProvider>
|
|
{children}
|
|
</SessionProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
} |