From 6caad39c335c2ce94c96e2a1180f1fe03bc0bec0 Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:07:50 -0400 Subject: [PATCH] fix: add ts-check to clearStorage --- src/components/ClearStorage.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }