Browse Source

ref(js): Remove Router from global exports (#70018)

I can't find anything that is using this.
Evan Purkhiser 10 months ago
parent
commit
e755cababe
1 changed files with 0 additions and 3 deletions
  1. 0 3
      static/app/bootstrap/exportGlobals.tsx

+ 0 - 3
static/app/bootstrap/exportGlobals.tsx

@@ -1,8 +1,6 @@
 import * as React from 'react';
 import {findDOMNode} from 'react-dom';
 import {createRoot} from 'react-dom/client';
-// eslint-disable-next-line no-restricted-imports
-import * as ReactRouter from 'react-router';
 import * as Sentry from '@sentry/react';
 import moment from 'moment';
 
@@ -14,7 +12,6 @@ const globals = {
   React,
   Sentry,
   moment,
-  Router: ReactRouter,
   ReactDOM: {findDOMNode, createRoot},
 
   // django templates make use of these globals