rename users hook to user

This commit is contained in:
daniel31x13
2024-07-31 14:15:50 -04:00
parent 099bc9e054
commit be5400f7cb
19 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import toast from "react-hot-toast";
import LinkTypeBadge from "./LinkComponents/LinkTypeBadge";
import { useTranslation } from "next-i18next";
import { useCollections } from "@/hooks/store/collections";
import { useUser } from "@/hooks/store/users";
import { useUser } from "@/hooks/store/user";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;
@@ -11,7 +11,7 @@ import useLinkStore from "@/store/links";
import { toast } from "react-hot-toast";
import { dropdownTriggerer } from "@/lib/client/utils";
import { useTranslation } from "next-i18next";
import { useUser } from "@/hooks/store/users";
import { useUser } from "@/hooks/store/user";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;
+1 -1
View File
@@ -16,7 +16,7 @@ import toast from "react-hot-toast";
import LinkTypeBadge from "./LinkComponents/LinkTypeBadge";
import { useTranslation } from "next-i18next";
import { useCollections } from "@/hooks/store/collections";
import { useUser } from "@/hooks/store/users";
import { useUser } from "@/hooks/store/user";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;
+1 -1
View File
@@ -20,7 +20,7 @@ import toast from "react-hot-toast";
import LinkTypeBadge from "./LinkComponents/LinkTypeBadge";
import { useTranslation } from "next-i18next";
import { useCollections } from "@/hooks/store/collections";
import { useUser } from "@/hooks/store/users";
import { useUser } from "@/hooks/store/user";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;