fix: replace button not working on landing page editor (#141)

* CLASSROOMIO-ISSUE-46: Replace Button Bug Fix

* update posthog and fix issue found on gitpod

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Adeyemi Adetunji
2024-01-28 22:15:15 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 9539e1e842
commit 71f910f6c8
7 changed files with 23 additions and 13 deletions
@@ -1,5 +1,5 @@
function showAppsSideBar(path) {
return path.includes('/lessons/') && !path.includes('landingpage');
return path?.includes('/lessons/') && !path?.includes('landingpage');
}
export default showAppsSideBar;