summaryrefslogtreecommitdiff
path: root/apps/web/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/app')
-rw-r--r--apps/web/src/app/editor/[project_id]/page.tsx6
-rw-r--r--apps/web/src/app/projects/page.tsx12
2 files changed, 2 insertions, 16 deletions
diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx
index 41bef8bd..aa5b7315 100644
--- a/apps/web/src/app/editor/[project_id]/page.tsx
+++ b/apps/web/src/app/editor/[project_id]/page.tsx
@@ -140,12 +140,6 @@ export default function Editor() {
</ResizablePanelGroup>
</div>
</div>
- <Onboarding
- isOpen={isOnboardingOpen}
- onClose={() => {
- setIsOnboardingOpen(false);
- }}
- />
</EditorProvider>
);
}
diff --git a/apps/web/src/app/projects/page.tsx b/apps/web/src/app/projects/page.tsx
index 9fcb025b..499b999a 100644
--- a/apps/web/src/app/projects/page.tsx
+++ b/apps/web/src/app/projects/page.tsx
@@ -1,8 +1,7 @@
-"use client"
-import { redirect } from "next/navigation";
+"use client";
import Link from "next/link";
-import React, { useState } from "react";
+import { useState } from "react";
import { Button } from "@/components/ui/button";
import { Card, CardContent } from "@/components/ui/card";
import { Checkbox } from "@/components/ui/checkbox";
@@ -29,15 +28,8 @@ import { useProjectStore } from "@/stores/project-store";
import { useRouter } from "next/navigation";
import { DeleteProjectDialog } from "@/components/delete-project-dialog";
import { RenameProjectDialog } from "@/components/rename-project-dialog";
-import { toast } from "sonner";
export default function ProjectsPage() {
-
- if (process.env.NODE_ENV !== "development") {
- toast.error("You are not allowed to access this page");
- redirect("/");
- }
-
const {
createNewProject,
savedProjects,