Skip to content

Commit 1266712

Browse files
committed
[jer/preview-like-prod] Dont' try to serialize the nativeKeypadProxy APIOption
1 parent 01ba3c1 commit 1266712

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/perseus-editor/src/preview/sanitize-api-options.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-unused-vars */
2+
import React from "react";
3+
24
import type {APIOptions} from "@khanacademy/perseus";
35

46
/**
@@ -22,9 +24,10 @@ export function sanitizeApiOptions(
2224
trackInteraction: ______,
2325
setDrawingAreaAvailable: ________,
2426
baseElements: _________,
27+
nativeKeypadProxy: __________,
2528
// Remove React nodes (placeholders)
26-
imagePlaceholder: __________,
27-
widgetPlaceholder: ___________,
29+
imagePlaceholder: ___________,
30+
widgetPlaceholder: ____________,
2831
...serializableOptions
2932
} = apiOptions;
3033

0 commit comments

Comments
 (0)