Skip to content

Commit 4d20e2e

Browse files
committed
fix Errors
1 parent 0961e39 commit 4d20e2e

1 file changed

Lines changed: 21 additions & 24 deletions

File tree

‎front/src/pods/trainer/components/session.component.tsx‎

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Checkbox from '@material-ui/core/Checkbox';
1010

1111
import * as innerClasses from './session.styles';
1212

13-
1413
interface Props {
1514
log: string;
1615
handleSendFullContentLog: (fullContent: string) => void;
@@ -68,28 +67,26 @@ export const SessionComponent: React.FC<Props> = props => {
6867
/>
6968
}
7069
/>
71-
<div className={btnContainer}>
72-
<Button
73-
variant="contained"
74-
color="secondary"
75-
disableElevation
76-
className={innerClasses.undoButton}
77-
onClick={() => handleSetSessionContent(log)}
78-
>
79-
<UndoIcon className={innerClasses.undoIcon} />
80-
Undo
81-
</Button>
82-
<Button
83-
variant="contained"
84-
color="primary"
85-
disableElevation
86-
className={innerClasses.sendButton}
87-
onClick={() => handleSendFullContentLog(getFullContent(log))}
88-
>
89-
Send Full Content
90-
<ArrowForwardRoundedIcon className={innerClasses.sendIcon} />
91-
</Button>
92-
</div>
93-
</div>
70+
<Button
71+
variant="contained"
72+
color="secondary"
73+
disableElevation
74+
className={innerClasses.undoButton}
75+
onClick={() => handleSetSessionContent(log)}
76+
>
77+
<UndoIcon className={innerClasses.undoIcon} />
78+
Undo
79+
</Button>
80+
<Button
81+
variant="contained"
82+
color="primary"
83+
disableElevation
84+
className={innerClasses.sendButton}
85+
onClick={() => handleSendFullContentLog(getFullContent(log))}
86+
>
87+
Send Full Content
88+
<ArrowForwardRoundedIcon className={innerClasses.sendIcon} />
89+
</Button>
90+
</form>
9491
);
9592
};

0 commit comments

Comments
 (0)