Skip to content

Commit

Permalink
parsedJson?
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed Jul 11, 2024
1 parent f80ea7d commit b5ec9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/chat-background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const setInitialData = (port: Chat.Port, message: Chat.JsonMsg): void => {
?.addLiveChatTextMessageFromTemplateAction?.template
?.liveChatTextMessageRenderer ?? {
authorName: {
simpleText: parsedJson.continuationContents?.liveChatContinuation?.viewerName
simpleText: parsedJson?.continuationContents?.liveChatContinuation?.viewerName
}
};

Expand Down

0 comments on commit b5ec9c0

Please sign in to comment.