diff --git a/webapp/src/components/registrationLink.scss b/webapp/src/components/sidebar/registrationLink.scss similarity index 100% rename from webapp/src/components/registrationLink.scss rename to webapp/src/components/sidebar/registrationLink.scss diff --git a/webapp/src/components/registrationLink.tsx b/webapp/src/components/sidebar/registrationLink.tsx similarity index 92% rename from webapp/src/components/registrationLink.tsx rename to webapp/src/components/sidebar/registrationLink.tsx index 742eb1934..1bdd2a22e 100644 --- a/webapp/src/components/registrationLink.tsx +++ b/webapp/src/components/sidebar/registrationLink.tsx @@ -3,13 +3,14 @@ import React, {useEffect, useState} from 'react' import {injectIntl, IntlShape} from 'react-intl' -import {IWorkspace} from '../blocks/workspace' -import {sendFlashMessage} from '../components/flashMessages' -import client from '../octoClient' -import {Utils} from '../utils' -import Button from '../widgets/buttons/button' +import {IWorkspace} from '../../blocks/workspace' +import {sendFlashMessage} from '../../components/flashMessages' +import client from '../../octoClient' +import {Utils} from '../../utils' +import Button from '../../widgets/buttons/button' + +import Modal from '../modal' -import Modal from './modal' import './registrationLink.scss' type Props = { diff --git a/webapp/src/components/sidebar/sidebarUserMenu.tsx b/webapp/src/components/sidebar/sidebarUserMenu.tsx index 4a7e26727..acabfa8b1 100644 --- a/webapp/src/components/sidebar/sidebarUserMenu.tsx +++ b/webapp/src/components/sidebar/sidebarUserMenu.tsx @@ -12,7 +12,8 @@ import Menu from '../../widgets/menu' import MenuWrapper from '../../widgets/menuWrapper' import ModalWrapper from '../modalWrapper' -import RegistrationLink from '../registrationLink' + +import RegistrationLink from './registrationLink' import './sidebarUserMenu.scss'