mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
use native img for sidebar image
This commit is contained in:
parent
3d7ee10328
commit
5121f57171
1 changed files with 1 additions and 4 deletions
|
|
@ -23,7 +23,6 @@ import { SidebarItemType, useGeneralSettings } from '/@/renderer/store/settings.
|
||||||
import { Accordion } from '/@/shared/components/accordion/accordion';
|
import { Accordion } from '/@/shared/components/accordion/accordion';
|
||||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||||
import { Group } from '/@/shared/components/group/group';
|
import { Group } from '/@/shared/components/group/group';
|
||||||
import { Image } from '/@/shared/components/image/image';
|
|
||||||
import { ScrollArea } from '/@/shared/components/scroll-area/scroll-area';
|
import { ScrollArea } from '/@/shared/components/scroll-area/scroll-area';
|
||||||
import { Text } from '/@/shared/components/text/text';
|
import { Text } from '/@/shared/components/text/text';
|
||||||
import { Tooltip } from '/@/shared/components/tooltip/tooltip';
|
import { Tooltip } from '/@/shared/components/tooltip/tooltip';
|
||||||
|
|
@ -170,10 +169,8 @@ export const Sidebar = () => {
|
||||||
})}
|
})}
|
||||||
openDelay={500}
|
openDelay={500}
|
||||||
>
|
>
|
||||||
<Image
|
<img
|
||||||
className={styles.sidebarImage}
|
className={styles.sidebarImage}
|
||||||
includeLoader={false}
|
|
||||||
includeUnloader={false}
|
|
||||||
loading="eager"
|
loading="eager"
|
||||||
src={upsizedImageUrl || ''}
|
src={upsizedImageUrl || ''}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue