refactor(web): remove typescript
This commit is contained in:
@@ -2,16 +2,9 @@ import * as React from 'react';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import Box from '@mui/material/Box';
|
||||
import Grid from '@mui/material/Grid';
|
||||
|
||||
import Container from 'components/Container';
|
||||
|
||||
type FlowParams = {
|
||||
flowId: string;
|
||||
};
|
||||
|
||||
export default function Flow(): React.ReactElement {
|
||||
const { flowId } = useParams() as FlowParams;
|
||||
|
||||
export default function Flow() {
|
||||
const { flowId } = useParams();
|
||||
return (
|
||||
<Box sx={{ py: 3 }}>
|
||||
<Container>
|
Reference in New Issue
Block a user