Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
rusisolanki committed Aug 12, 2024
1 parent 8274a1b commit 378646f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion frontend/src/scenes/settings/Settings.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import React from "react";
import SettingsTabs from "./SettingsTabs/SettingsTabs";
import './Settings.css'
import HomePageTemplate from "../../components/templates/HomePageTemplate";
import './Settings.css'

const Settings = () => {
return (
<div>
<main>
<HomePageTemplate>
<div className="settings">
<SettingsTabs />
</div>
</HomePageTemplate>
</main>
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ import Avatar from "../../../../components/Avatar/Avatar";
import "./ProfileTab.css";

const ProfileTab = () => {

const submitHandler = (e) => {
e.preventDefault()
}
return (
<div>
<div>
<form className="form">
<form className="form" onSubmit={submitHandler}>
<div className="first-name-element">
<label htmlFor="first-name" className="label">
First Name
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/scenes/settings/SettingsTabs/SettingsTabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ import Tab from '@mui/material/Tab';
import TabContext from '@mui/lab/TabContext';
import TabList from '@mui/lab/TabList';
import TabPanel from '@mui/lab/TabPanel';
import './SettingsTabs.css'
import ProfileTab from './ProfileTab/ProfileTab';


const tabLabel = ['Profile', 'Password', 'Team']
import './SettingsTabs.css'

export default function SettingsTabs() {
const [value, setValue] = useState('1');
Expand Down

0 comments on commit 378646f

Please sign in to comment.