diff --git a/frontend/frontend/src/components/Card/SVG.js b/frontend/frontend/src/components/Card/SVG.js index cdcd247d..58e78f32 100644 --- a/frontend/frontend/src/components/Card/SVG.js +++ b/frontend/frontend/src/components/Card/SVG.js @@ -29,6 +29,10 @@ const SvgInline = (props) => { setShouldMock(stage === 0 || !isAuthenticated); }, [isAuthenticated, props.stage]); + useEffect(async () => { + await axios.storage.clear(); + }, [userToken]); + useEffect(() => { const loadSvg = async () => { process.env.PAT_1 = userToken;