From 496e87a90a34754002dce9355dd0949d34712830 Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Thu, 14 Sep 2023 17:02:05 +0200 Subject: [PATCH] chore: fix formatting error --- .../src/createFieldPlugin/createFieldPlugin.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/field-plugin/src/createFieldPlugin/createFieldPlugin.ts b/packages/field-plugin/src/createFieldPlugin/createFieldPlugin.ts index cfb9b2b5..02dd216b 100644 --- a/packages/field-plugin/src/createFieldPlugin/createFieldPlugin.ts +++ b/packages/field-plugin/src/createFieldPlugin/createFieldPlugin.ts @@ -63,10 +63,10 @@ export const createFieldPlugin: CreateFieldPlugin = ({ // eslint-disable-next-line functional/no-throw-statement throw new Error( 'The argument could not be cloned. ' + - 'The argument must be cloneable with structuredClone(), so that it can be sent to other windows with window.postMessage(). ' + - 'Does your object contain functions, getters, setters, proxies, or any other value that is not cloneable? Did you try to pass a reactive object? ' + - 'For a full description on the structuredClone algorithm, see: ' + - 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm', + 'The argument must be cloneable with structuredClone(), so that it can be sent to other windows with window.postMessage(). ' + + 'Does your object contain functions, getters, setters, proxies, or any other value that is not cloneable? Did you try to pass a reactive object? ' + + 'For a full description on the structuredClone algorithm, see: ' + + 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm', { cause: err, },