Remove .html from routes
This commit is contained in:
@@ -6,7 +6,7 @@ const useCurrentTab = () => {
|
||||
const [searchParams, setSearchParams] = useSearchParams();
|
||||
const searchParamsTab = searchParams.get('tab');
|
||||
const libraryId =
|
||||
location.pathname === '/livetv.html' ?
|
||||
location.pathname === '/livetv' ?
|
||||
'livetv' :
|
||||
searchParams.get('topParentId');
|
||||
const activeTab: number =
|
||||
|
||||
Reference in New Issue
Block a user