mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
chore: update noResult svg
This commit is contained in:
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>
|
||||
)
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user