type fixes for React 18

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-13 00:05:25 +02:00
parent b2817daf0c
commit 0296f272b4
50 changed files with 193 additions and 94 deletions
@@ -44,7 +44,9 @@ import { useApi } from '@backstage/core-plugin-api';
export const LIMIT = 10;
const AuditList = () => {
const [dismissedStored] = useLocalStorage(LIGHTHOUSE_INTRO_LOCAL_STORAGE);
const [dismissedStored] = useLocalStorage<boolean>(
LIGHTHOUSE_INTRO_LOCAL_STORAGE,
);
const [dismissed, setDismissed] = useState(dismissedStored);
const query = useQuery();