From dbf49fd8ffc3d923373ea26d7b99d9e2ab6aea83 Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Mon, 7 Apr 2025 05:22:55 +0000 Subject: [PATCH] [react] fix: copy-paste error introduced in #205, causing the InspectView to crash (#221) Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/221 Reviewed-by: Joost De Cock Co-authored-by: Jonathan Haas Co-committed-by: Jonathan Haas --- .../react/components/Editor/components/views/InspectView.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/components/Editor/components/views/InspectView.mjs b/packages/react/components/Editor/components/views/InspectView.mjs index 0476b3609ab..1f514db2ee0 100644 --- a/packages/react/components/Editor/components/views/InspectView.mjs +++ b/packages/react/components/Editor/components/views/InspectView.mjs @@ -48,7 +48,7 @@ export const InspectView = ({ Design, state, update, config }) => { /* * First, attempt to draft */ - const { pattern, failure, errors } = draft(Design, state.settings, plugins) + const { pattern, failure, errors } = draft(Design, state.settings) /* * Create object holding strings for translation