diff --git a/src/app/admin/page.jsx b/src/app/admin/page.jsx index 40a5bc10f..3eeb6aad0 100644 --- a/src/app/admin/page.jsx +++ b/src/app/admin/page.jsx @@ -1,5 +1,5 @@ import { Suspense } from "react"; -import { styles } from "./admin.module.css"; +import styles from "./admin.module.css"; import AdminPosts from "@/components/adminPosts/adminPosts"; import AdminPostForm from "@/components/adminPostForm/adminPostForm"; import AdminUsers from "@/components/adminUsers/adminUsers"; diff --git a/src/components/adminPostForm/adminPostForm.jsx b/src/components/adminPostForm/adminPostForm.jsx index 4de20edda..cab508413 100644 --- a/src/components/adminPostForm/adminPostForm.jsx +++ b/src/components/adminPostForm/adminPostForm.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { styles } from "./adminPostForm.module.css"; +import styles from "./adminPostForm.module.css"; const AdminPostForm = () => { return
; diff --git a/src/components/adminPosts/adminPosts.jsx b/src/components/adminPosts/adminPosts.jsx index 0bc2a63a1..1d7806735 100644 --- a/src/components/adminPosts/adminPosts.jsx +++ b/src/components/adminPosts/adminPosts.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { styles } from "./adminPosts.module.css"; +import styles from "./adminPosts.module.css"; import { getPosts } from "@/lib/data"; import Image from "next/image"; import { deletePost } from "@/lib/action"; diff --git a/src/components/adminUserForm/adminUserForm.jsx b/src/components/adminUserForm/adminUserForm.jsx index f834b9b8a..d233dc6c4 100644 --- a/src/components/adminUserForm/adminUserForm.jsx +++ b/src/components/adminUserForm/adminUserForm.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { styles } from "./adminUserForm.module.css"; +import styles from "./adminUserForm.module.css"; const AdminUserForm = () => { return
; diff --git a/src/components/adminUsers/adminUsers.jsx b/src/components/adminUsers/adminUsers.jsx index 434e8d7a2..75cbbeb8d 100644 --- a/src/components/adminUsers/adminUsers.jsx +++ b/src/components/adminUsers/adminUsers.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { styles } from "./adminUsers.module.css"; +import styles from "./adminUsers.module.css"; const AdminUsers = () => { return
;