refactor(Loading): update Loading component import paths

- Changed import paths for the Loading component from "@/app/loading" to "@/components/loading" across multiple files to maintain consistency and improve modularity.
- Removed the Loading component definition from loading.tsx, simplifying the file structure.
This commit is contained in:
AmirReza Jamali
2026-04-13 08:07:43 +03:30
parent 44c87e094d
commit 50db71843b
17 changed files with 46 additions and 32 deletions
+1 -13
View File
@@ -1,15 +1,3 @@
import { cn } from "../lib/utils";
interface IProps {
className?: string | null;
}
const Loading = ({ className = "w-svw h-svh" }: IProps) => {
return (
<div className={cn("flex items-center justify-center", className)}>
<div className="h-5 w-5 animate-spin rounded-full border-b-2 border-primary"></div>
</div>
);
};
import Loading from "@/components/loading";
export default Loading;