Fix preparing workspace redirecting to invalid channel (#25247)

This commit is contained in:
Nick Misasi 2023-11-06 10:56:43 -05:00 committed by GitHub
parent 3b17fc4fdb
commit 92d9826a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ const PreparingWorkspace = (props: Props) => {
const goToChannels = () => {
dispatch({type: GeneralTypes.SHOW_LAUNCHING_WORKSPACE, open: true});
props.history.push(`/${team.name}/channels${Constants.DEFAULT_CHANNEL}`);
props.history.push(`/${team.name}/channels/${Constants.DEFAULT_CHANNEL}`);
trackEvent('first_admin_setup', 'admin_setup_complete');
};