Fix type error in createLazyFields

b9efb12d4ddf40ce5dc534fa91104b03a94dbdc8

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

1 files changed, +2 -2Showing whitespace changes
public/script.js+2 -2
@@ -3236,7 +3236,7 @@ export function baseChatReplace(value, name1Override = null, name2Override = nul
32363236
32373237/**
32383238 * Helper to create an object with lazy, memoized getters from a map of field resolvers.
32393239 * @param {Record<string, () => string|string[]>} resolvers Map of field names to resolver functions
32403240 * @returns {CharacterCardFields} Object with lazy getters
32413241 */
32423242export function createLazyFields(resolvers) {
@@ -3274,7 +3274,7 @@ export function getCharacterCardFieldsLazy({ chid = undefined } = {}) {
32743274 const useGroupCards = selected_group && character;
32753275 const groupCardsLazy = useGroupCards ? getGroupCharacterCardsLazy(selected_group, Number(currentChid)) : null;
32763276
32773277 /** @type {Record<string, () => string|string[]>} */
32783278 const resolvers = {
32793279 persona: () => baseChatReplace(power_user.persona_description?.trim()),
32803280 system: () => {