Skip to content

Commit 0024bb7

Browse files
authored
Merge pull request #353 from Lemoncode/feature/#352-vite-warning
fix vite warning: The "??" operator here will always return the left …
2 parents d0e203a + 9f27904 commit 0024bb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pods/canvas/use-keyboard-displacement.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const useKeyboardDisplacement = () => {
4141
// then we return and let the input and textare control it
4242
const isInlineEditing =
4343
(event.target as any)?.attributes['data-is-inline-edition-on'] !==
44-
undefined ?? false;
44+
undefined;
4545
if (isInlineEditing || !isKeyboardKey(event.key)) {
4646
return;
4747
}

0 commit comments

Comments
 (0)