From e5d84506151a3dba833f1a590465c7f774579201 Mon Sep 17 00:00:00 2001 From: Stefan van den Oord <soord@mac.com> Date: Thu, 16 Apr 2020 17:01:41 +0200 Subject: [PATCH] Removes template cruft --- spaces-frontend/src/App.tsx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/spaces-frontend/src/App.tsx b/spaces-frontend/src/App.tsx index 6a62d64..1930efa 100644 --- a/spaces-frontend/src/App.tsx +++ b/spaces-frontend/src/App.tsx @@ -2,23 +2,16 @@ import React from 'react' import logo from './logo.png' import './App.css' import 'semantic-ui-css/semantic.min.css' +import { Button } from 'semantic-ui-react' +import { useTranslation } from 'react-i18next' function App() { + const { t } = useTranslation() return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> - <p> - Edit <code>src/App.tsx</code> and save to reload. - </p> - <a - className="App-link" - href="https://reactjs.org" - target="_blank" - rel="noopener noreferrer" - > - Learn React - </a> + <Button>{t('home.register', 'Registreren')}</Button> </header> </div> )