♻️ (editor) Improve webhook creation
Remove terrible useEffects
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user