style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -33,8 +33,8 @@ export default function CreateFlow(): React.ReactElement {
const response = await createFlow({
variables: {
input: variables
}
input: variables,
},
});
const flowId = response.data?.createFlow?.id;
@@ -45,12 +45,21 @@ export default function CreateFlow(): React.ReactElement {
}, [createFlow, navigate, appKey, connectionId]);
return (
<Box sx={{ display: 'flex', flex: 1, height: '100vh', justifyContent: 'center', alignItems: 'center', gap: 2 }}>
<Box
sx={{
display: 'flex',
flex: 1,
height: '100vh',
justifyContent: 'center',
alignItems: 'center',
gap: 2,
}}
>
<CircularProgress size={16} thickness={7.5} />
<Typography variant="body2">
{formatMessage('createFlow.creating')}
</Typography>
</Box>
)
);
}

View File

@@ -2,7 +2,5 @@ import * as React from 'react';
import EditorLayout from 'components/EditorLayout';
export default function FlowEditor(): React.ReactElement {
return (
<EditorLayout />
)
}
return <EditorLayout />;
}

View File

@@ -10,5 +10,5 @@ export default function EditorRoutes(): React.ReactElement {
<Route path="/:flowId" element={<EditorPage />} />
</Routes>
)
);
}