Remove unused string condition
This commit is contained in:
parent
65da6a8562
commit
99eb80d811
|
@ -246,10 +246,7 @@ export const ActivityPanel = ( { isEmbedded, query } ) => {
|
|||
if ( currentLocation !== homescreenLocation ) {
|
||||
// Ensure that if the user is trying to get to the task list they can see it even if
|
||||
// it was dismissed.
|
||||
if (
|
||||
setupTaskListHidden === 'no' ||
|
||||
setupTaskListHidden === false
|
||||
) {
|
||||
if ( setupTaskListHidden === false ) {
|
||||
redirectToHomeScreen();
|
||||
} else {
|
||||
unhideTaskList( 'setup' ).then( redirectToHomeScreen );
|
||||
|
|
Loading…
Reference in New Issue