Skip to content

Commit

Permalink
Added profile loading skelelton
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Nov 7, 2023
1 parent d2835e1 commit 0cd4891
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { AlertTriangle, ChevronRight, LogOut } from "lucide-react";
import Link from "next/link";
import { useRouter } from "next/navigation";

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

type HistoryItem = {
streamId: string;
Expand Down
5 changes: 3 additions & 2 deletions src/components/loading/ProfileLoading.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { LogOut } from "lucide-react";
import React from "react";
import LoadingSkeleton from "./LoadingSkeleton";
import { LogOut } from "lucide-react";
import Link from "next/link";

import LoadingSkeleton from "./LoadingSkeleton";
const ProfileLoading = () => {
return (
<div className="min-h-screen">
Expand Down

0 comments on commit 0cd4891

Please sign in to comment.