Some fixes after upgrading react-query

This commit is contained in:
Gregory Schier
2024-05-10 09:19:29 -07:00
parent 22e7b15a63
commit a5f1922446
12 changed files with 35 additions and 20 deletions

View File

@@ -81,7 +81,7 @@ export const SettingsDialog = () => {
size="sm"
title="Check for updates"
icon="refresh"
spin={checkForUpdates.isLoading}
spin={checkForUpdates.isPending}
onClick={() => checkForUpdates.mutateAsync()}
/>
</div>
@@ -135,6 +135,7 @@ export const SettingsDialog = () => {
<KeyValueRows>
<KeyValueRow label="Version" value={appInfo.data?.version} />
<KeyValueRow label="Data Directory" value={appInfo.data?.appDataDir} />
<KeyValueRow label="Logs Directory" value={appInfo.data?.appLogDir} />
</KeyValueRows>
</VStack>
);