diff --git a/src/components/DashboardComponent/users/ElementComponent/SectionTitleLinkElement.tsx b/src/components/DashboardComponent/users/ElementComponent/SectionTitleLinkElement.tsx deleted file mode 100644 index 68dc56579..000000000 --- a/src/components/DashboardComponent/users/ElementComponent/SectionTitleLinkElement.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import React, { FunctionComponent } from 'react'; -import globalize from '../../../../scripts/globalize'; - -const createLinkElement = ({ className, title, href }) => ({ - __html: ` - ${title} - ` -}); - -type IProps = { - title?: string; - className?: string; - url?: string -} - -const SectionTitleLinkElement: FunctionComponent = ({ className, title, url }: IProps) => { - return ( -
- ); -}; - -export default SectionTitleLinkElement; diff --git a/src/components/DashboardComponent/users/ElementComponent/ButtonElement.tsx b/src/components/dashboard/users/ButtonElement.tsx similarity index 92% rename from src/components/DashboardComponent/users/ElementComponent/ButtonElement.tsx rename to src/components/dashboard/users/ButtonElement.tsx index 14a9ecb1e..dfde8c739 100644 --- a/src/components/DashboardComponent/users/ElementComponent/ButtonElement.tsx +++ b/src/components/dashboard/users/ButtonElement.tsx @@ -1,5 +1,5 @@ import React, { FunctionComponent } from 'react'; -import globalize from '../../../../scripts/globalize'; +import globalize from '../../../scripts/globalize'; const createButtonElement = ({ type, className, title }) => ({ __html: `