Skip to content

Commit 0f30842

Browse files
committed
Merge fix
1 parent 84fdaff commit 0f30842

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

app/src/components/right/TabPanel.tsx

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
<<<<<<< HEAD
1+
22
import React, { ReactNode, useState, useContext } from 'react';
33

44
import { useTheme } from '@material-ui/core/styles';
5-
=======
6-
import React, { ReactNode, useState } from 'react';
75

86
import { makeStyles, Theme } from '@material-ui/core/styles';
9-
>>>>>>> 7bbdd47fbd43f0c8ab841bf8583ed10c22aa89f7
107
import AppBar from '@material-ui/core/AppBar';
118
import Tabs from '@material-ui/core/Tabs';
129
import Tab from '@material-ui/core/Tab';
1310
import Typography from '@material-ui/core/Typography';
1411
import Box from '@material-ui/core/Box';
15-
<<<<<<< HEAD
1612
import { styleContext } from '../../containers/AppContainer';
17-
=======
18-
19-
>>>>>>> 7bbdd47fbd43f0c8ab841bf8583ed10c22aa89f7
2013
import StatePropsPanel from './StatePropsPanel';
2114
import ComponentPanel from './ComponentPanel';
2215

@@ -27,10 +20,7 @@ interface TabPanelProps {
2720
}
2821

2922
const TabPanelItem = (props: TabPanelProps) => {
30-
<<<<<<< HEAD
3123
const theme = useTheme();
32-
=======
33-
>>>>>>> 7bbdd47fbd43f0c8ab841bf8583ed10c22aa89f7
3424
const { children, index, value, ...other } = props;
3525
return (
3626
<div
@@ -73,17 +63,6 @@ const LinkTab = (props: LinkTabProps) => {
7363
);
7464
};
7565

76-
<<<<<<< HEAD
77-
// const useStyles = makeStyles((theme: Theme) => ({
78-
// root: {
79-
// flexGrow: 1,
80-
// }
81-
// }));
82-
83-
const TabPanel = () => {
84-
const theme = useTheme();
85-
// const classes = useStyles();
86-
=======
8766
const useStyles = makeStyles((theme: Theme) => ({
8867
root: {
8968
flexGrow: 1,
@@ -93,22 +72,14 @@ const useStyles = makeStyles((theme: Theme) => ({
9372

9473
const TabPanel = () => {
9574
const classes = useStyles();
96-
>>>>>>> 7bbdd47fbd43f0c8ab841bf8583ed10c22aa89f7
9775
const [value, setValue] = useState(0);
9876

9977
const handleChange = (event: React.ChangeEvent<{}>, newValue: number) => {
10078
setValue(newValue);
10179
};
10280

103-
<<<<<<< HEAD
104-
console.log("Theme: ", theme);
105-
106-
return (
107-
<div>
108-
=======
10981
return (
11082
<div className={classes.root}>
111-
>>>>>>> 7bbdd47fbd43f0c8ab841bf8583ed10c22aa89f7
11283
<AppBar position="static">
11384
<Tabs
11485
variant="fullWidth"

0 commit comments

Comments
 (0)