mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Adapt to breaking changes
This commit is contained in:
parent
5c6acaf915
commit
591833505f
@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { BrowserTracing } from "@sentry/browser";
|
|
||||||
import i18n from "i18next";
|
import i18n from "i18next";
|
||||||
import { initReactI18next } from "react-i18next";
|
import { initReactI18next } from "react-i18next";
|
||||||
import LanguageDetector from "i18next-browser-languagedetector";
|
import LanguageDetector from "i18next-browser-languagedetector";
|
||||||
@ -160,10 +159,7 @@ export class Initializer {
|
|||||||
dsn: Config.get().sentry?.DSN,
|
dsn: Config.get().sentry?.DSN,
|
||||||
environment: Config.get().sentry?.environment,
|
environment: Config.get().sentry?.environment,
|
||||||
integrations: [
|
integrations: [
|
||||||
new BrowserTracing({
|
Sentry.reactRouterV5BrowserTracingIntegration({ history }),
|
||||||
routingInstrumentation:
|
|
||||||
Sentry.reactRouterV5Instrumentation(history),
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
tracesSampleRate: 1.0,
|
tracesSampleRate: 1.0,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user