|  | 
| 1 | 1 | import React, { FormEvent, useCallback } from 'react'; | 
|  | 2 | +import { Collapse } from 'react-collapse'; | 
| 2 | 3 | import { observer } from 'mobx-react-lite'; | 
| 3 | 4 | import styled from '@emotion/styled'; | 
| 4 |  | -import { useStore } from 'store'; | 
| 5 | 5 | import { usePrefixedTranslation } from 'hooks'; | 
| 6 |  | -import { Collapse } from 'react-collapse'; | 
| 7 |  | -import { Column, Row, ChevronUp, ChevronDown } from 'components/base'; | 
| 8 |  | -import { Paragraph, Small, Label } from 'components/common/v2/Text'; | 
| 9 |  | -import OverlayFormWrap from 'components/common/OverlayFormWrap'; | 
|  | 6 | +import { useStore } from 'store'; | 
|  | 7 | +import { PermissionTypeValues } from 'store/views/addSessionView'; | 
|  | 8 | +import { ChevronDown, ChevronUp, Column, Row } from 'components/base'; | 
|  | 9 | +import FormDate from 'components/common/FormDate'; | 
| 10 | 10 | import FormField from 'components/common/FormField'; | 
| 11 | 11 | import FormInput from 'components/common/FormInput'; | 
| 12 | 12 | import FormInputNumber from 'components/common/FormInputNumber'; | 
| 13 | 13 | import FormSelect from 'components/common/FormSelect'; | 
| 14 |  | -import FormDate from 'components/common/FormDate'; | 
|  | 14 | +import OverlayFormWrap from 'components/common/OverlayFormWrap'; | 
| 15 | 15 | import FormSwitch from 'components/common/v2/FormSwitch'; | 
|  | 16 | +import { Label, Paragraph, Small } from 'components/common/v2/Text'; | 
| 16 | 17 | import PurpleButton from './PurpleButton'; | 
| 17 |  | -import { PermissionTypeValues } from 'store/views/addSessionView'; | 
| 18 | 18 | 
 | 
| 19 | 19 | const Styled = { | 
| 20 | 20 |   Wrapper: styled.div` | 
| @@ -101,7 +101,7 @@ const CustomSessionPage: React.FC = () => { | 
| 101 | 101 | 
 | 
| 102 | 102 |   const handleBack = useCallback(() => { | 
| 103 | 103 |     addSessionView.cancel(); | 
| 104 |  | -    appView.goTo('/connect'); | 
|  | 104 | +    appView.goToConnect(); | 
| 105 | 105 |   }, [appView]); | 
| 106 | 106 | 
 | 
| 107 | 107 |   const handleSubmit = useCallback(async (event: FormEvent<HTMLFormElement>) => { | 
|  | 
0 commit comments