more refactoring

This commit is contained in:
2024-07-02 09:08:49 +02:00
parent de148eaf19
commit 1971966099
27 changed files with 400 additions and 324 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { EditorState } from "@/components/client/admin/PostEditor";
import { Project } from "@/models";
import { Dispatch, ReactNode, SetStateAction, useState } from "react";
import { Attributes } from "@sequelize/core";
import { parseStateHook, StateHookArray } from "@/util/state/stateUtils";
import { parseStateHook } from "@/util/state";
export type PostViewProps = {
children?: ReactNode;
+1 -1
View File
@@ -1,7 +1,7 @@
cache: "no-store";
import { tryFetchPosts } from "@/app/api/post/route";
import { constructAPIUrl } from "@/util/Utils";
import { constructAPIUrl } from "@/util/utils";
import { ReactNode, useEffect } from "react";
import EntityManagementTable from "../../components/client/EntityManagementTable";
import PostTable from "@/components/client/admin/PostTable";