I believe this part of the code is responsible?
|
<Base> |
|
<AgeGate |
|
enabled={channel().mature} |
|
contentId={channel().id} |
|
contentName={"#" + channel().name} |
|
contentType="channel" |
|
> |
|
<Switch fallback="Unknown channel type!"> |
|
<Match when={!channel()}> |
|
<Navigate href={"../.."} /> |
|
</Match> |
|
<Match when={TEXT_CHANNEL_TYPES.includes(channel()!.type)}> |
|
<TextChannel channel={channel()} /> |
|
</Match> |
Should probably auto redirect to home in this instance
I believe this part of the code is responsible?
lavender/packages/client/src/interface/channels/ChannelPage.tsx
Lines 47 to 60 in a400cdf
Should probably auto redirect to home in this instance