File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import {
6
6
Center ,
7
7
createStyles ,
8
8
useMantineColorScheme ,
9
+ Image ,
9
10
} from '@mantine/core' ;
10
11
import { motion } from 'framer-motion' ;
11
12
import { useState } from 'react' ;
12
13
import { useSortable } from '@dnd-kit/sortable' ;
13
14
import { CSS } from '@dnd-kit/utilities' ;
14
- import Image from 'next/image' ;
15
15
import { serviceItem } from '../../tools/types' ;
16
16
import PingComponent from '../../modules/ping/PingModule' ;
17
17
import AppShelfMenu from './AppShelfMenu' ;
@@ -125,13 +125,11 @@ export function AppShelfItem(props: any) {
125
125
target = { service . newTab === false ? '_top' : '_blank' }
126
126
>
127
127
< Image
128
- style = { {
129
- cursor : 'pointer' ,
130
- } }
128
+ styles = { { root : { cursor : 'pointer' } } }
131
129
width = { 80 }
132
130
height = { 80 }
133
- src = { `/api/imageproxy?url= ${ service . icon } ` }
134
- objectFit = "contain"
131
+ src = { service . icon }
132
+ fit = "contain"
135
133
/>
136
134
</ Anchor >
137
135
</ motion . i >
You can’t perform that action at this time.
0 commit comments