We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35b73ec commit 8eb7490Copy full SHA for 8eb7490
1 file changed
app/posts/layout.tsx
@@ -1,11 +1,11 @@
1
import { Suspense } from 'react';
2
-import SVGLoadingSpinner from '@/app/entities/common/Loading/SVGLoadingSpinner';
+import Loading from './[slug]/loading';
3
4
interface LayoutProps {
5
children: React.ReactNode;
6
}
7
const Layout = ({ children }: LayoutProps) => {
8
- return <Suspense fallback={<SVGLoadingSpinner />}>{children}</Suspense>;
+ return <Suspense fallback={<Loading />}>{children}</Suspense>;
9
};
10
11
export default Layout;
0 commit comments