bug fix
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
import { getPosts } from '@/shared/config/api/testApi';
|
||||
import Welcome from '@/widgets/welcome';
|
||||
|
||||
export default async function QrCode() {
|
||||
const res = await getPosts({ _limit: 1 });
|
||||
console.log('SSR res', res.data);
|
||||
|
||||
return (
|
||||
<div className='flex justify-center items-center h-screen'>
|
||||
<Welcome />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="flex justify-center items-center h-screen">
|
||||
<Welcome />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user