chore: update noResult svg

This commit is contained in:
JimmFly
2022-12-20 18:39:47 +08:00
parent 82acc93fcc
commit 741419b777
3 changed files with 97 additions and 32 deletions
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long
@@ -9,8 +9,7 @@ import { config } from './config';
import { useGoToPage } from '@/providers/app-state-provider/hooks';
import { usePageList } from '@/providers/app-state-provider/usePageList';
import { useLoadWorkspace } from '@/providers/app-state-provider/hooks';
import NextImage from 'next/image';
import noResultSVG from './noResult.svg';
import { NoResultSVG } from './noResultSVG';
import { usePageHelper } from '@/hooks/use-page-helper';
export const Results = (props: {
query: string;
@@ -76,12 +75,7 @@ export const Results = (props: {
) : (
<StyledNotFound>
<span>Find 0 result</span>
<NextImage
alt="no result"
src={noResultSVG}
width={150}
height={150}
></NextImage>
<NoResultSVG />
</StyledNotFound>
)
) : (