diff --git a/nixbld-etc-nixos/mattermost-remove-free-banner.patch b/nixbld-etc-nixos/mattermost-remove-free-banner.patch index 3bd9502..3e5dfd0 100644 --- a/nixbld-etc-nixos/mattermost-remove-free-banner.patch +++ b/nixbld-etc-nixos/mattermost-remove-free-banner.patch @@ -127,11 +127,24 @@ index 8cd1d8a624..55554fb0ad 100644 { - role='menuitem' - id={props.id} - > + + const MenuStartTrial = (props: Props): JSX.Element | null => { +- const {formatMessage} = useIntl(); +- + const license = useSelector(getLicense); + const isCurrentLicensed = license?.IsLicensed; + +@@ -44,33 +19,7 @@ const MenuStartTrial = (props: Props): JSX.Element | null => { + return null; + } + +- return ( +- +- ); ++ return null; + }; + + export default MenuStartTrial;