8294d6ee49
- Created `qa-test-output-after-fix.txt` and `qa-test-output.txt` to log results of certificate page authentication tests. - Added `build.sh` for deterministic backend builds in CI, utilizing `go list` for efficiency. - Introduced `codeql_scan.sh` for CodeQL database creation and analysis for Go and JavaScript/TypeScript. - Implemented `dockerfile_check.sh` to validate Dockerfiles for base image and package manager mismatches. - Added `sourcery_precommit_wrapper.sh` to facilitate Sourcery CLI usage in pre-commit hooks.
18 lines
448 B
TypeScript
18 lines
448 B
TypeScript
import React from 'react';
|
|
import { useQuery } from '@tanstack/react-query';
|
|
import { checkUpdates } from '../api/system';
|
|
|
|
const SystemStatus: React.FC = () => {
|
|
// We still query for updates here to keep the cache fresh,
|
|
// but the UI is now handled by NotificationCenter
|
|
useQuery({
|
|
queryKey: ['system-updates'],
|
|
queryFn: checkUpdates,
|
|
staleTime: 1000 * 60 * 60, // 1 hour
|
|
});
|
|
|
|
return null;
|
|
};
|
|
|
|
export default SystemStatus;
|