type fixes for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user