Add 'ENABLE_WIP_FEATURES' for live page.

Got tired of hijacking code. Didn't want to alter my account either.
This commit is contained in:
infinite-persistence 2021-08-13 11:06:12 +08:00 committed by infinite-persistence
parent 7cf9cba3d6
commit afe3f913ae

View file

@ -11,7 +11,7 @@ type Props = {
export default function LivestreamCurrentPage(props: Props) {
const { user } = props;
const canView = user && user.global_mod;
const canView = process.env.ENABLE_WIP_FEATURES || (user && user.global_mod);
return (
<Page>