🌠
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
import {
|
||||
Button,
|
||||
Divider,
|
||||
Form,
|
||||
Input,
|
||||
message,
|
||||
PageHeader,
|
||||
Row,
|
||||
Typography,
|
||||
} from 'antd'
|
||||
import { Button, Divider, Form, Input, message, Row, Typography } from 'antd'
|
||||
import FormItem from 'antd/lib/form/FormItem'
|
||||
import { Store } from 'antd/lib/form/interface'
|
||||
import { Content } from 'antd/lib/layout/layout'
|
||||
import React, { FormEvent } from 'react'
|
||||
import React from 'react'
|
||||
import { useState } from 'react'
|
||||
import { useHistory } from 'react-router-dom'
|
||||
import { createClient } from '../api'
|
||||
|
@@ -70,7 +70,10 @@ export const Session = (props: Props) => {
|
||||
</Row>
|
||||
<Divider />
|
||||
|
||||
<Row justify="center" className="session-header">
|
||||
<Row justify="center" className="session-toolbar">
|
||||
<Button key="finish" onClick={handleExit}>
|
||||
Back To Dashboard
|
||||
</Button>
|
||||
<Button
|
||||
key="startsession"
|
||||
disabled={active}
|
||||
@@ -99,15 +102,7 @@ export const Session = (props: Props) => {
|
||||
Abort Session
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
<Button
|
||||
key="finish"
|
||||
ghost
|
||||
type="primary"
|
||||
disabled={!active}
|
||||
onClick={handleExit}
|
||||
>
|
||||
Finish Session
|
||||
</Button>
|
||||
|
||||
<StatusChip poll={true} />
|
||||
</Row>
|
||||
|
||||
|
Reference in New Issue
Block a user