extracted templates, extracted strings for templates

This commit is contained in:
Amruth Pillai
2020-03-30 10:58:50 +05:30
parent 51dc6ef94d
commit a0e17396ac
13 changed files with 81 additions and 79 deletions

View File

@ -13,25 +13,24 @@ import ExtrasTab from './tabs/Extras';
import LanguagesTab from './tabs/Languages';
import ReferencesTab from './tabs/References';
const tabs = [
'Profile',
'Objective',
'Work Experience',
'Education',
'Awards',
'Certifications',
'Skills',
'Languages',
'References',
'Extras',
];
const LeftSidebar = () => {
const context = useContext(AppContext);
const { state, dispatch } = context;
const { data } = state;
const [currentTab, setCurrentTab] = useState('Extras');
const tabs = [
'Profile',
'Objective',
'Work Experience',
'Education',
'Awards',
'Certifications',
'Skills',
'Languages',
'References',
'Extras',
];
const [currentTab, setCurrentTab] = useState('Profile');
const onChange = (key, value) => {
dispatch({
type: 'on_input',