Skip to content

Commit 20d61c8

Browse files
committed
📦 Add package and fix bug in DownloadsModule
1 parent 9fa4836 commit 20d61c8

File tree

4 files changed

+210
-12
lines changed

4 files changed

+210
-12
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"prism-react-renderer": "^1.3.5",
5959
"react": "^18.2.0",
6060
"react-dom": "^18.2.0",
61+
"sharp": "^0.30.7",
6162
"systeminformation": "^5.12.1",
6263
"uuid": "^8.3.2",
6364
"yarn": "^1.22.19"

src/components/Settings/ModuleEnabler.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default function ModuleEnabler(props: any) {
1313
<Checkbox
1414
key={module.title}
1515
size="lg"
16+
style={{ cursor: 'pointer' }}
1617
checked={config.modules?.[module.title]?.enabled ?? false}
1718
label={`${module.title}`}
1819
onChange={(e) => {

src/modules/downloads/DownloadsModule.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default function DownloadComponent() {
196196
</Table>
197197
) : (
198198
<Center style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
199-
<Image fit="cover" height={300} src="https://danjohnvelasco.github.io/images/empty.png" />
199+
<Title order={3}>No torrents found</Title>
200200
</Center>
201201
)}
202202
</ScrollArea>

0 commit comments

Comments
 (0)