27 |
28 |
29 | setState(value)}
32 | options={{
33 | lineNumbers: true,
34 | autoFocus: true,
35 | lineWrapping: true,
36 | readOnly: false,
37 | mode: 'javascript',
38 | theme: 'dracula'
39 | }}
40 | />
41 |
42 |
43 | );
44 | };
45 |
46 | export default CustomCommands;
47 |
--------------------------------------------------------------------------------
/frontend/src/pages/backup/containers/dropzone.tsx:
--------------------------------------------------------------------------------
1 | import React, { useCallback, useState } from 'react';
2 | import { useDropzone } from 'react-dropzone';
3 | import { Grid, Label } from 'semantic-ui-react';
4 | import { useUploadDatabaseFileMutation } from '../../../graphql/generated/dist';
5 |
6 | const DatabaseDropzone = () => {
7 | const [error, setError] = useState