feat(multisubs): add settings modal

This commit is contained in:
plebeius.eth
2024-05-17 16:28:09 +02:00
parent 25e261bb55
commit 970c726720
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ export type ParamsType = {
};
export const isAllView = (pathname: string): boolean => {
return pathname === '/p/all';
return pathname.startsWith('/p/all');
};
export const isCatalogView = (pathname: string, params: ParamsType): boolean => {
@@ -40,7 +40,7 @@ export const isRulesView = (pathname: string, params: ParamsType): boolean => {
};
export const isSubscriptionsView = (pathname: string): boolean => {
return pathname === '/p/subscriptions';
return pathname.startsWith('/p/subscriptions');
};
export const isNotFoundView = (pathname: string, params: ParamsType): boolean => {