lint
This commit is contained in:
parent
dface1928d
commit
c6202bf653
1 changed files with 4 additions and 5 deletions
|
@ -1,13 +1,12 @@
|
||||||
import * as Sentry from "@sentry/browser";
|
import * as Sentry from "@sentry/browser";
|
||||||
import { Integrations } from "@sentry/tracing";
|
|
||||||
import PlatformPeg from "./PlatformPeg";
|
import PlatformPeg from "./PlatformPeg";
|
||||||
import SdkConfig from "./SdkConfig";
|
import SdkConfig from "./SdkConfig";
|
||||||
import {MatrixClientPeg} from "./MatrixClientPeg";
|
import { MatrixClientPeg } from "./MatrixClientPeg";
|
||||||
import SettingsStore from "./settings/SettingsStore";
|
import SettingsStore from "./settings/SettingsStore";
|
||||||
import {MatrixClient} from "../../matrix-js-sdk";
|
import { MatrixClient } from "../../matrix-js-sdk";
|
||||||
|
|
||||||
async function getStorageOptions(): Record<string, string> {
|
async function getStorageOptions(): Record<string, string> {
|
||||||
const result = {}
|
const result = {};
|
||||||
|
|
||||||
// add storage persistence/quota information
|
// add storage persistence/quota information
|
||||||
if (navigator.storage && navigator.storage.persisted) {
|
if (navigator.storage && navigator.storage.persisted) {
|
||||||
|
@ -106,7 +105,7 @@ async function getContext() {
|
||||||
"user": getUserContext(client),
|
"user": getUserContext(client),
|
||||||
"crypto": await getCryptoContext(client),
|
"crypto": await getCryptoContext(client),
|
||||||
"device": getDeviceContext(client),
|
"device": getDeviceContext(client),
|
||||||
"storage": await getStorageOptions()
|
"storage": await getStorageOptions(),
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue