fix imports

This commit is contained in:
SrGooglo 2025-04-02 01:51:28 +00:00
parent 0aae00c8dc
commit c3d99e0d83

View File

@ -1,8 +1,8 @@
import { Lightbox } from "react-modal-image" import { Lightbox } from "react-modal-image"
import { Searcher, NotificationsCenter, PostCreator } from "@components" import { NotificationsCenter, PostCreator, Searcher } from "@components"
import config from "@config"
import AppsMenu from "@components/AppsMenu" import AppsMenu from "@components/AppsMenu"
import config from "@config"
import deleteInternalStorage from "@utils/deleteInternalStorage"
export default { export default {
controls: { controls: {
@ -170,12 +170,12 @@ export default {
}, },
maintenance: { maintenance: {
clearInternalStorage: async () => { clearInternalStorage: async () => {
antd.Modal.confirm({ app.layout.modal.confirm({
title: "Clear internal storage", headerText: "Clear internal storage",
content: descriptionText:
"Are you sure you want to clear all internal storage? This will remove all your data from the app, including your session.", "Are you sure you want to clear all internal storage? This will remove all your data from the app, including your session.",
onOk: async () => { onConfirm: () => {
Utils.deleteInternalStorage() deleteInternalStorage()
}, },
}) })
}, },