Skip to content

Commit

Permalink
fix(fe): handle null user in submission (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoojin9 authored Jul 3, 2024
1 parent 1ae99e9 commit ba04ac9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const columns: ColumnDef<SubmissionItem>[] = [
{
header: () => 'User ID',
accessorKey: 'username',
cell: ({ row }) => row.original.user.username
cell: ({ row }) => row.original.user?.username ?? 'Unknown User'
},
{
header: () => 'Result',
Expand Down

0 comments on commit ba04ac9

Please sign in to comment.