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 { Searcher, NotificationsCenter, PostCreator } from "@components"
|
||||
|
||||
import config from "@config"
|
||||
import { NotificationsCenter, PostCreator, Searcher } from "@components"
|
||||
import AppsMenu from "@components/AppsMenu"
|
||||
import config from "@config"
|
||||
import deleteInternalStorage from "@utils/deleteInternalStorage"
|
||||
|
||||
export default {
|
||||
controls: {
|
||||
@ -170,12 +170,12 @@ export default {
|
||||
},
|
||||
maintenance: {
|
||||
clearInternalStorage: async () => {
|
||||
antd.Modal.confirm({
|
||||
title: "Clear internal storage",
|
||||
content:
|
||||
app.layout.modal.confirm({
|
||||
headerText: "Clear internal storage",
|
||||
descriptionText:
|
||||
"Are you sure you want to clear all internal storage? This will remove all your data from the app, including your session.",
|
||||
onOk: async () => {
|
||||
Utils.deleteInternalStorage()
|
||||
onConfirm: () => {
|
||||
deleteInternalStorage()
|
||||
},
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user