mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
clear cache properly and without hacky window reload
This commit is contained in:
1 parent
d72fc80cc5
commit
114eb13ce6
3 files changed
+33
-15
No files matched your search
@@ -21,7 +21,7 @@ const Messages = () => {
|
||||
const [selectedPubkey, setSelectedPubkey] = useState<string | null>(null);
|
||||
const [statusModalOpen, setStatusModalOpen] = useState(false);
|
||||
const isMobile = useIsMobile();
|
||||
const { clearCache } = useDMContext();
|
||||
const { clearCacheAndReload } = useDMContext();
|
||||
|
||||
useSeoMeta({
|
||||
title: 'Messages',
|
||||
@@ -66,7 +66,7 @@ const Messages = () => {
|
||||
View loading status, cache info, and connection details
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<DMStatusInfo clearCache={clearCache} />
|
||||
<DMStatusInfo clearCacheAndReload={clearCacheAndReload} />
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user