Skip to content

Commit

Permalink
Fixed prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Aug 8, 2024
1 parent b3cdb7a commit a406802
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { type VariableNode, isVariableNode } from '@prezly/slate-types';
import { Transforms, type Editor, type NodeEntry } from 'slate';

export function removeFallbackPropertyIfEmpty(
editor: Editor,
[node, path]: NodeEntry,
): boolean {
export function removeFallbackPropertyIfEmpty(editor: Editor, [node, path]: NodeEntry): boolean {
if (!isVariableNode(node)) {
return false;
}
Expand Down

0 comments on commit a406802

Please sign in to comment.