From 3bd272622a1075ca845f487c91908090e72b01e7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 24 Apr 2022 19:07:10 -0500 Subject: [PATCH] Nvm, definitely do cache icon requests --- app/soapbox/components/ui/icon/svg-icon.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/soapbox/components/ui/icon/svg-icon.tsx b/app/soapbox/components/ui/icon/svg-icon.tsx index c84e40203..84604150d 100644 --- a/app/soapbox/components/ui/icon/svg-icon.tsx +++ b/app/soapbox/components/ui/icon/svg-icon.tsx @@ -29,8 +29,6 @@ const SvgIcon: React.FC = ({ src, alt, size = 24, className }): JSX.El height={size} loader={loader} data-testid='svg-icon' - // The cache causes bugs, and the ServiceWorker already caches icons. - cacheRequests={false} > {/* If the fetch fails, fall back to displaying the loader */} {loader}