Standardized

This commit is contained in:
Sean Edmunds
2025-01-30 17:00:26 -06:00
parent cfdb1b2b4f
commit 9430db990b
20 changed files with 89 additions and 80 deletions

View File

@@ -12,8 +12,9 @@ function Links({ contentType }: any) {
endpoint: 'api/categories',
});
const [bookmarkData, setBookmarkData] = useState<any>([]);
const [groups, setGroups] = useState([]);
const { isMobile } = useCommonHooks();
useEffect(() => {
if (linkData && linksIsFetched) {
setBookmarkData(linkData);
@@ -28,7 +29,6 @@ function Links({ contentType }: any) {
setGroups(groupList);
}
}, [groupData, groupsIsFetched]);
const { isMobile } = useCommonHooks();
return (
<>