mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
fix type error with ref
This commit is contained in:
1 parent
d1e87abba4
commit
4215da70c7
1 file changed
+1
-1
@@ -78,7 +78,7 @@ export const InputVector = ({
|
||||
// For dragging the input value to increment/decrement
|
||||
const handleMouseDown = (
|
||||
e: React.MouseEvent,
|
||||
ref: RefObject<HTMLInputElement>,
|
||||
ref: RefObject<HTMLInputElement|null>,
|
||||
) => {
|
||||
e.stopPropagation();
|
||||
blurAllInputs();
|
||||
|
||||
Reference in new issue
Block a user