Skip to content

Commit

Permalink
Formating some components
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahil4883 committed Sep 11, 2024
1 parent 4cce88c commit e9fdac3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
14 changes: 14 additions & 0 deletions Components/(Skeleton)/Loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from "react";

const Textloading = () => {
return (
<div>
<span className="loading loading-ball loading-xs"></span>
<span className="loading loading-ball loading-sm"></span>
<span className="loading loading-ball loading-md"></span>
<span className="loading loading-ball loading-lg"></span>
</div>
);
};

export default Textloading;
19 changes: 0 additions & 19 deletions Components/(Skeleton)/Textloading.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions app/(All Pages)/dashboard/Loading.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/(All Pages)/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Suspense } from "react";
import { UserProfile } from "@/Components/TodoComponents/User-Profile";
import Textloading from "@/Components/(Skeleton)/Textloading";
import Textloading from "@/Components/(Skeleton)/Loading";
import { Protect } from "@clerk/nextjs";

export default async function dashboard() {
Expand Down
6 changes: 5 additions & 1 deletion app/(All Pages)/features/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { Underdevelopment } from "@/Components/Underdevelopment";
//TODO: Add the Features page and remove the Underdevelopment component

const Features = () => {
return <Underdevelopment />;
return (
<>
<Underdevelopment />
</>
);
};

export default Features;
1 change: 1 addition & 0 deletions app/(All Pages)/test/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { useEffect, useState } from "react";
import { useSession, useUser } from "@clerk/nextjs";
import { createClient } from "@supabase/supabase-js";
/*TODO: Make a delete function looking at the previous projects */

export default function Test() {
const [tasks, setTasks] = useState<any[]>([]);
Expand Down

0 comments on commit e9fdac3

Please sign in to comment.