diff --git a/src/components/ClearStorage.jsx b/src/components/ClearStorage.jsx index 61b592361..e32237fc5 100644 --- a/src/components/ClearStorage.jsx +++ b/src/components/ClearStorage.jsx @@ -1,8 +1,9 @@ -import React from 'react' +// @ts-check +import * as React from 'react' import { Navigate } from 'react-router-dom' export default function ClearStorage() { localStorage.clear() sessionStorage.clear() - return + return }