minor - ts error fix (#7635)

@FelixMalfait :) follow up - #7628
This commit is contained in:
nitin
2024-10-13 18:20:29 +05:30
committed by GitHub
parent 6c0959b2e6
commit 5ca47507dc

View File

@ -107,7 +107,7 @@ export const SettingsNavigationDrawerItems = () => {
return matchPath(
{
path: pathName,
end: !accountSubSetting.matchSubPages ?? true,
end: accountSubSetting.matchSubPages === false,
},
currentPathName,
);