Skip to content

Commit

Permalink
fix: lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored May 9, 2024
1 parent fc9516d commit 759a60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function storeLog(type: LogType, args: any[]): void {
function argsMapping(args: any[]): string {
return args.map(arg => {
if (typeof arg === 'object' && arg !== null && 'message' in arg) {
return arg.message;
return arg.message
} else if (typeof arg === 'object') {
return JSON.stringify(arg, null, 2)
} else {
Expand Down

0 comments on commit 759a60f

Please sign in to comment.