diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-08 23:39:37 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-08 23:39:37 +0200 |
commit | 2384b30a244c7d6477e54de5385fe7f1cc62d43a (patch) | |
tree | 55c9f82f9475249a7f91ac44e408e04e9f1c9560 /components/Tweaks | |
parent | fd4edbd6a854275c10c5b21173f0875921d547d1 (diff) |
feat(preview): proper file preview with api routing
Diffstat (limited to 'components/Tweaks')
-rw-r--r-- | components/Tweaks/BehaviorPanel.tsx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/components/Tweaks/BehaviorPanel.tsx b/components/Tweaks/BehaviorPanel.tsx index 27906c5..651396d 100644 --- a/components/Tweaks/BehaviorPanel.tsx +++ b/components/Tweaks/BehaviorPanel.tsx @@ -17,8 +17,6 @@ import { initialBehavior, initialMouse } from '../config' import { InfoTooltip } from './InfoTooltip' import { SliderWithInfo } from './SliderWithInfo' -import { checkFileSystemCompatibility } from '../../util/checkFileSystemCompatibility' - export interface BehaviorPanelProps { behavior: typeof initialBehavior setBehavior: any @@ -166,20 +164,6 @@ export const BehaviorPanel = (props: BehaviorPanelProps) => { onChange={(value) => setBehavior({ ...behavior, zoomPadding: value })} infoText="How much to zoom out to accomodate all nodes when changing the view." /> - - <Box> - <Button width="100%" isDisabled={!checkFileSystemCompatibility()}> - Grant Filesystem Access - </Button> - {!checkFileSystemCompatibility() && ( - <Box bg="gray.600" width="100%" padding={5}> - <Text> - You are not using a browser compatible with the FileSystem Access API. Only Chromium - based browsers are currently supported. - </Text> - </Box> - )} - </Box> </VStack> ) } |