Skip to content

Commit

Permalink
Asded forbidden page and alert on like and dislike
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Nov 14, 2023
1 parent 5c788e7 commit 08ed4c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/bookmark/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { getCookie } from "cookies-next";
import { AlertTriangle, BookmarkMinus } from "lucide-react";
import Link from "next/link";

import Forbidden from "@/components/Forbidden";
import LoadingSkeleton from "@/components/loading/LoadingSkeleton";
import { Error } from "@/types/ErrorTypes";
import Toast from "@/utils/toast";
import Forbidden from "@/components/Forbidden";

type BookmarkItem = {
animeId: string;
Expand Down
2 changes: 1 addition & 1 deletion src/app/history/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { getCookie } from "cookies-next";
import { AlertTriangle, Trash } from "lucide-react";
import Link from "next/link";

import Forbidden from "@/components/Forbidden";
import LoadingSkeleton from "@/components/loading/LoadingSkeleton";
import { Error } from "@/types/ErrorTypes";
import Toast from "@/utils/toast";
import Forbidden from "@/components/Forbidden";

type HistoryItem = {
streamId: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Forbidden.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Ghost, KeyRound, Lock } from "lucide-react";
import React from "react";
import { Ghost, KeyRound, Lock } from "lucide-react";

const Forbidden = () => {
return (
Expand Down

0 comments on commit 08ed4c4

Please sign in to comment.