From a1cdabf0a962766d622a4bc74d0c18e0bc7cac5f Mon Sep 17 00:00:00 2001 From: Emil Krebs Date: Tue, 3 Sep 2024 19:07:36 +0200 Subject: [PATCH] minor improvements --- package.json | 4 ++-- src/app/components/notification.tsx | 4 ++-- src/app/page.tsx | 20 +++++++++----------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 727f70d..007ba54 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,13 @@ }, "devDependencies": { "eslint-config-next": "^14.2.7", - "@types/node": "^22.5.1", + "@types/node": "^22.5.2", "@types/react": "^18.3.5", "@types/react-dom": "^18", "autoprefixer": "^10.4.20", "eslint": "^8", "eslint-config-prettier": "^9.1.0", - "postcss": "^8.4.42", + "postcss": "^8.4.44", "tailwindcss": "^3.4.10", "typescript": "^5.5.3" } diff --git a/src/app/components/notification.tsx b/src/app/components/notification.tsx index fbca68b..898d389 100644 --- a/src/app/components/notification.tsx +++ b/src/app/components/notification.tsx @@ -5,7 +5,7 @@ import { useState } from "react"; interface NotificationProps { - content: React.ReactNode; + children: React.ReactNode; } export default function PageNotification(props: NotificationProps) { @@ -14,7 +14,7 @@ export default function PageNotification(props: NotificationProps) { return ( visible &&
- {props.content} + {props.children}