mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix field date error in modal, adjust notification spacing, added entity quick switcher
This commit is contained in:
@@ -42,6 +42,11 @@ const useLocationFromRouter = (router) => {
|
||||
];
|
||||
};
|
||||
|
||||
export function isLinkActive(href: string, strict?: boolean) {
|
||||
const path = window.location.pathname;
|
||||
return strict ? path === href : path.includes(href);
|
||||
}
|
||||
|
||||
export function Link({
|
||||
className,
|
||||
native,
|
||||
|
||||
Reference in New Issue
Block a user