mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix imports
This commit is contained in:
parent
0aae00c8dc
commit
c3d99e0d83
@ -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()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user