Fix structuredClone

c022858e5b667f121045b1b6d2873ddc40ac5381

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/power-user.js+2 -2
@@ -1992,8 +1992,8 @@ export function fuzzySearchGroups(searchValue, fuzzySearchCaches = null) {
19921992 */
19931993export function renderStoryString(params, { customStoryString = null, customInstructSettings = null } = {}) {
19941994 try {
19951995 const storyString = structuredClone(customStoryString ?? power_user.context.story_string);
19961996 const instructSettings = structuredClone(customInstructSettings ?? power_user.instruct);
19971997
19981998 // Validate and log possible warnings/errors
19991999 validateStoryString(storyString, params);