From a55db3267fc45d1ea15bec441a7599c56dd3751f Mon Sep 17 00:00:00 2001 From: Michael Ochmann Date: Wed, 5 Oct 2022 10:07:44 +0200 Subject: [PATCH] now clearing cache on loading/reloading file --- src/ui/src/components/Ation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/src/components/Ation.js b/src/ui/src/components/Ation.js index 1979e61..33f2056 100644 --- a/src/ui/src/components/Ation.js +++ b/src/ui/src/components/Ation.js @@ -20,6 +20,7 @@ const Ation = () => { useEffect(() => { window.api.onFileOpen(presentation => { + window.api.clearCache(); const [newBasePath, slideDeck] = presentation; if (!slideDeck) return;