♻️ (editor) Improve webhook creation

Remove terrible useEffects
This commit is contained in:
Baptiste Arnaud
2023-02-15 14:51:58 +01:00
parent 6e066c44e1
commit ac464eabdf
23 changed files with 481 additions and 528 deletions

View File

@@ -223,7 +223,12 @@ export const Graph = ({
const zoomOut = () => zoom({ delta: -zoomButtonsScaleBlock })
return (
<Flex ref={graphContainerRef} position="relative" {...props}>
<Flex
ref={graphContainerRef}
position="relative"
style={{ touchAction: 'none' }}
{...props}
>
<ZoomButtons onZoomInClick={zoomIn} onZoomOutClick={zoomOut} />
<Flex
flex="1"