Skip to content

Commit

Permalink
fix: error notice handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pmh-only committed Aug 22, 2023
1 parent cc9e99d commit 4643f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SocketWatcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const SocketWatcher: FC = () => {
}}>
<Alert type={data.type.toLowerCase()}>
{data.message}
{data?.error}
{data?.error?.message}
</Alert>
</div>
))
Expand Down

0 comments on commit 4643f98

Please sign in to comment.