Skip to content

Commit

Permalink
[CodeFactor] Apply fixes to commit 6805288
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Nov 26, 2021
1 parent 6805288 commit 22c7470
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions src/pages/UserSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@ import Security from './user-configs/Security';

const { TabPane } = Tabs;

export default () => {
return (
<Card bodyStyle={{ paddingLeft: 0 }}>
<Tabs defaultActiveKey="1" tabPosition="left">
<TabPane tab="Basic Configurations" key="1">
<BasicConfigs />
</TabPane>
<TabPane tab="Security" key="3">
<Security />
</TabPane>
<TabPane tab="Notifications" key="4">
<Notifications />
</TabPane>
</Tabs>
</Card>
);
};
export default () => (
<Card bodyStyle={{ paddingLeft: 0 }}>
<Tabs defaultActiveKey="1" tabPosition="left">
<TabPane tab="Basic Configurations" key="1">
<BasicConfigs />
</TabPane>
<TabPane tab="Security" key="3">
<Security />
</TabPane>
<TabPane tab="Notifications" key="4">
<Notifications />
</TabPane>
</Tabs>
</Card>
);

0 comments on commit 22c7470

Please sign in to comment.