Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

fix channel settings #610

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix channel settings
jawndiego committed Apr 30, 2024
commit 10d76a9a1d8eb93e1da305d45541f0b0d3204d71
4 changes: 2 additions & 2 deletions apps/site/components/client/ChannelSettings.tsx
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ export function ChannelSettings({ channel }: ChannelSettingsProps) {
userRid,
channelRoleData,
}: {
userRid: bigint
userRid: string
channelRoleData: ChannelRoles[]
}) {
// to see if they have admin access for channel
@@ -74,7 +74,7 @@ export function ChannelSettings({ channel }: ChannelSettingsProps) {
!embeddedWallet?.address || !userId || !channel?.roles?.items
? false
: isAdmin({
userRid: userId,
userRid: userId.toString(),
channelRoleData: channel.roles.items,
})