From e4ea6caa7f69c35997b71ed1f27dd66535d5465e Mon Sep 17 00:00:00 2001 From: chark1es Date: Thu, 6 Mar 2025 03:04:07 -0800 Subject: [PATCH] fix hydration error --- .../dashboard/AdminDashboard/AdminSystemActivity.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/dashboard/AdminDashboard/AdminSystemActivity.tsx b/src/components/dashboard/AdminDashboard/AdminSystemActivity.tsx index 7af9ae6..944c855 100644 --- a/src/components/dashboard/AdminDashboard/AdminSystemActivity.tsx +++ b/src/components/dashboard/AdminDashboard/AdminSystemActivity.tsx @@ -2,8 +2,8 @@ import { useEffect, useState } from "react"; import { Authentication } from "../../../scripts/pocketbase/Authentication"; import { Get } from "../../../scripts/pocketbase/Get"; import { Collections } from "../../../schemas/pocketbase"; -import { Icon } from "astro-icon/components"; import type { Log } from "../../../schemas/pocketbase"; +import { Icon } from "@iconify/react"; // Extend the Log type to include expand property interface ExtendedLog extends Log { @@ -155,7 +155,7 @@ export default function AdminSystemActivity({ if (error) { return (
- + {error}
); @@ -164,7 +164,7 @@ export default function AdminSystemActivity({ if (logs.length === 0) { return (
- + No system logs found
); @@ -193,8 +193,8 @@ export default function AdminSystemActivity({
{log.type}