mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
chore: update variable
This commit is contained in:
@@ -28,13 +28,7 @@ const SearchResult = (props: { query: string }) => {
|
||||
}
|
||||
});
|
||||
return (
|
||||
<>
|
||||
{resultsPageMeta.length ? (
|
||||
renderPages(resultsPageMeta)
|
||||
) : (
|
||||
<NoResult query={query} />
|
||||
)}
|
||||
</>
|
||||
<>{resultsPageMeta.length ? renderPages(resultsPageMeta) : <NoResult />}</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user