Skip to content

Commit ad808d1

Browse files
fix: correct exhaustive check in navigateTo to use target instead of target.entityType
1 parent 0b2c60a commit ad808d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/super-editor/src/editors/v1/core/presentation-editor/PresentationEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5955,7 +5955,7 @@ export class PresentationEditor extends EventEmitter {
59555955
);
59565956
}
59575957

5958-
const _exhaustive: never = target.entityType;
5958+
const _exhaustive: never = target;
59595959
return false;
59605960
} catch (error) {
59615961
console.error('[PresentationEditor] navigateTo failed:', error);

0 commit comments

Comments
 (0)