1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-03 18:57:43 +01:00

Merge pull request #4748 from h3poteto/fix/image

Fix local image
This commit is contained in:
AkiraFukushima 2024-01-03 17:26:45 +09:00 committed by GitHub
commit 7c9708906e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,6 +1,5 @@
import { useRouter } from 'next/router'
import Image from 'next/image'
import Icon from '@/assets/256x256.png'
import { Spinner } from 'flowbite-react'
export default function Account() {
const router = useRouter()
@ -15,7 +14,7 @@ export default function Account() {
return (
<div className="h-screen w-full flex justify-center items-center">
<Image src={Icon} alt="icon" width={128} height={128} />
<Spinner color="info" />
</div>
)
}

View File

@ -1,8 +1,7 @@
import Image from 'next/image'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
import Icon from '@/assets/256x256.png'
import { db } from '@/db'
import { Spinner } from 'flowbite-react'
export default function Index() {
const router = useRouter()
@ -28,7 +27,7 @@ export default function Index() {
return (
<div className="h-screen w-full flex justify-center items-center">
<Image src={Icon} alt="icon" width={128} height={128} />
<Spinner color="info" />
</div>
)
}