Co-authored-by: kramer <david.kramer@gmail.com> Co-authored-by: Ayush Agrawal <54364088+AyushAgrawal-A2@users.noreply.github.com> Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import { useRecoilCallback, useRecoilState } from 'recoil';
|
||||
import { useRecoilCallback, useSetRecoilState } from 'recoil';
|
||||
|
||||
import { isDragSelectionStartEnabledState } from '../states/internal/isDragSelectionStartEnabledState';
|
||||
|
||||
export const useDragSelect = () => {
|
||||
const [, setIsDragSelectionStartEnabled] = useRecoilState(
|
||||
const setIsDragSelectionStartEnabled = useSetRecoilState(
|
||||
isDragSelectionStartEnabledState,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user