diff --git a/src/app/workspace/[workspaceId]/toolbar.tsx b/src/app/workspace/[workspaceId]/toolbar.tsx index d34b58d..268ce08 100644 --- a/src/app/workspace/[workspaceId]/toolbar.tsx +++ b/src/app/workspace/[workspaceId]/toolbar.tsx @@ -51,7 +51,10 @@ const Toolbar = () => { {channels?.map((channel) => ( - onChannelClick(channel._id)}> + onChannelClick(channel._id)} + > {channel.name} ))} @@ -60,7 +63,10 @@ const Toolbar = () => { {members?.map((member) => ( - onMemberClick(member._id)}> + onMemberClick(member._id)} + > {member.user.name} ))}