1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed new date type

This commit is contained in:
Fedor Katurov 2020-04-24 14:47:27 +07:00
parent 38fd09cfe1
commit 6d679ffd29

View file

@ -41,7 +41,7 @@ const NodeImageSlideBlock: FC<IProps> = ({
const [initial_x, setInitialX] = useState(0);
const [offset, setOffset] = useState(0);
const [is_dragging, setIsDragging] = useState(false);
const [drag_start, setDragStart] = useState();
const [drag_start, setDragStart] = useState(0);
const slide = useRef<HTMLDivElement>();
const wrap = useRef<HTMLDivElement>();