add initialData to queries
This commit is contained in:
+2
-2
@@ -22,9 +22,9 @@ import { useTags } from "@/hooks/store/tags";
|
||||
|
||||
export default function Dashboard() {
|
||||
const { t } = useTranslation();
|
||||
const { data: collections = [] } = useCollections();
|
||||
const { data: collections } = useCollections();
|
||||
const { links } = useLinkStore();
|
||||
const { data: tags = [] } = useTags();
|
||||
const { data: tags } = useTags();
|
||||
|
||||
const [numberOfLinks, setNumberOfLinks] = useState(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user