Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 5x 12x 12x 12x 12x 12x | import { useTranslation } from "react-i18next"; import useUserStore from "@/store/useUserStore"; import useMovieStore from "@/store/useMovieStore"; import useDeleteSessionMutation from "@/mutations/useDeleteSessionMutation"; const useDrawer = () => { const { i18n, t } = useTranslation(); const { resetMovieStatus } = useMovieStore(); const { resetState, isAuthenticated, sessionId } = useUserStore(); const { deleteSessionMutation } = useDeleteSessionMutation(); return { i18n, t, resetMovieStatus, resetState, isAuthenticated, sessionId, deleteSessionMutation, }; }; export default useDrawer; |