diff --git a/task-01/src/App.js b/task-01/src/App.js index c8a2968..79e1fb5 100644 --- a/task-01/src/App.js +++ b/task-01/src/App.js @@ -3,23 +3,17 @@ import { LanguageProvider } from './libs/language'; import './App.css'; import ErrorBoundary from './components/ErrorBoundary'; import NavBar from './containers/NavBar'; -import Form from './containers/Form'; -import Static from './containers/Static'; -import ClassForm from './containers/ClassForm'; +import TabContent from './containers/TabContent'; function App() { - const [tabContentClassName, setTabContentClassName] = useState({form: "tab-content active", static: "tab-content", classForm: "tab-content"}); + const [activeTab, setActiveTab] = useState("form"); return (
- -
-
- - -
+ +
diff --git a/task-01/src/components/LanguageSelector.js b/task-01/src/components/LanguageSelector.js index 5a130d1..06cc1ff 100644 --- a/task-01/src/components/LanguageSelector.js +++ b/task-01/src/components/LanguageSelector.js @@ -13,6 +13,7 @@ export default function LanguageSelector(props){

-
-