refactor: view props structure (#2159)
* chore: update view_props types * refactor: view props structure
This commit is contained in:
parent
cdb888c23e
commit
8e9a4dca78
45 changed files with 765 additions and 1146 deletions
|
|
@ -4,8 +4,6 @@ import useSWR from "swr";
|
|||
|
||||
// services
|
||||
import projectService from "services/project.service";
|
||||
// hooks
|
||||
import useIssuesView from "hooks/use-issues-view";
|
||||
// layouts
|
||||
import { ProjectAuthorizationWrapper } from "layouts/auth-layout";
|
||||
// contexts
|
||||
|
|
@ -28,8 +26,6 @@ const ProjectArchivedIssues: NextPage = () => {
|
|||
const router = useRouter();
|
||||
const { workspaceSlug, projectId } = router.query;
|
||||
|
||||
const { showEmptyGroups, setShowEmptyGroups } = useIssuesView();
|
||||
|
||||
const { data: projectDetails } = useSWR(
|
||||
workspaceSlug && projectId ? PROJECT_DETAILS(projectId as string) : null,
|
||||
workspaceSlug && projectId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue