diff --git a/src/App/App.tsx b/src/App/App.tsx index 109be71..5439da2 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -34,11 +34,9 @@ export interface AppStateInterface { } export default class App extends Component<{}, AppStateInterface> { public state: AppStateInterface = { - // @ts-ignore logoUrl: window.VERDACCIO_LOGO, user: {}, - // @ts-ignore - scope: window.VERDACCIO_SCOPE ? `${window.VERDACCIO_SCOPE}:` : '', + scope: window.VERDACCIO_SCOPE || '', showLoginModal: false, isUserLoggedIn: false, packages: [], diff --git a/src/components/Footer/Footer.test.tsx b/src/components/Footer/Footer.test.tsx index b91efcc..d8f9240 100644 --- a/src/components/Footer/Footer.test.tsx +++ b/src/components/Footer/Footer.test.tsx @@ -10,10 +10,8 @@ jest.mock('../../../package.json', () => ({ describe('