From 2384b30a244c7d6477e54de5385fe7f1cc62d43a Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Fri, 8 Oct 2021 23:39:37 +0200
Subject: feat(preview): proper file preview with api routing

---
 components/Tweaks/BehaviorPanel.tsx | 16 ----------------
 1 file changed, 16 deletions(-)

(limited to 'components/Tweaks/BehaviorPanel.tsx')

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>
   )
 }
-- 
cgit v1.2.3

