'use client'

import { useProductStore } from "@/app/product/store/Store";
import { usePathname } from "next/navigation";
import { useEffect } from "react";

const ManageData = () => {

    const { setVariantId } = useProductStore()
    const pathname = usePathname()

    useEffect(() => {
        setVariantId('')
    }, [pathname]);

    return null
}

export default ManageData