Browse Source

cleanup: Remove unused generateBaseControlSiloUrl (#71839)

Related to https://github.com/getsentry/frontend-tsc/issues/13
Ryan Albrecht 9 months ago
parent
commit
38d1fd1600
1 changed files with 0 additions and 5 deletions
  1. 0 5
      static/app/utils.tsx

+ 0 - 5
static/app/utils.tsx

@@ -1,6 +1,5 @@
 import type {Query} from 'history';
 import type {Query} from 'history';
 
 
-import ConfigStore from 'sentry/stores/configStore';
 import type {EventTag} from 'sentry/types/event';
 import type {EventTag} from 'sentry/types/event';
 import type {Project} from 'sentry/types/project';
 import type {Project} from 'sentry/types/project';
 import {formatNumberWithDynamicDecimalPoints} from 'sentry/utils/formatters';
 import {formatNumberWithDynamicDecimalPoints} from 'sentry/utils/formatters';
@@ -284,10 +283,6 @@ export function escapeDoubleQuotes(str: string) {
   return str.replace(/\\([\s\S])|(")/g, '\\$1$2');
   return str.replace(/\\([\s\S])|(")/g, '\\$1$2');
 }
 }
 
 
-export function generateBaseControlSiloUrl() {
-  return ConfigStore.get('links').sentryUrl || '';
-}
-
 export function generateOrgSlugUrl(orgSlug) {
 export function generateOrgSlugUrl(orgSlug) {
   const sentryDomain = window.__initialData.links.sentryUrl.split('/')[2];
   const sentryDomain = window.__initialData.links.sentryUrl.split('/')[2];
   return `${window.location.protocol}//${orgSlug}.${sentryDomain}${window.location.pathname}`;
   return `${window.location.protocol}//${orgSlug}.${sentryDomain}${window.location.pathname}`;