Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
fix(UI): icon imports in settings/update.tsx
Jake Turner4425e02c3c2e
diff --git a/admin/inertia/pages/settings/update.tsx b/admin/inertia/pages/settings/update.tsxindex 47ffdfdd..9a289f03 100644--- a/admin/inertia/pages/settings/update.tsx+++ b/admin/inertia/pages/settings/update.tsx@@ -1,13 +1,9 @@import { Head } from '@inertiajs/react'-import IconArrowBigUpLines from '@tabler/icons-react/dist/esm/icons/IconArrowBigUpLines'-import IconCheck from '@tabler/icons-react/dist/esm/icons/IconCheck'-import IconAlertCircle from '@tabler/icons-react/dist/esm/icons/IconAlertCircle'-import IconRefresh from '@tabler/icons-react/dist/esm/icons/IconRefresh'import SettingsLayout from '~/layouts/SettingsLayout'import StyledButton from '~/components/StyledButton'import Alert from '~/components/Alert'import { useEffect, useState } from 'react'-import { IconCircleCheck } from '@tabler/icons-react'+import { IconAlertCircle, IconArrowBigUpLines, IconCheck, IconCircleCheck, IconReload } from '@tabler/icons-react'import { SystemUpdateStatus } from '../../../types/system'import api from '~/lib/api'import Input from '~/components/inputs/Input'@@ -121,7 +117,7 @@ export default function SystemUpdatePage(props: {return <IconCheck className="h-12 w-12 text-desert-olive" />if (updateStatus?.stage === 'error')return <IconAlertCircle className="h-12 w-12 text-desert-red" />- if (isUpdating) return <IconRefresh className="h-12 w-12 text-desert-green animate-spin" />+ if (isUpdating) return <IconReload className="h-12 w-12 text-desert-green animate-spin" />if (props.system.updateAvailable)return <IconArrowBigUpLines className="h-16 w-16 text-desert-green" />return <IconCircleCheck className="h-16 w-16 text-desert-olive" />