mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
listing modal hook
This commit is contained in:
1 parent
ec21abc7d4
commit
5debff0ae7
1 file changed
+7
@@ -0,0 +1,7 @@
|
||||
import { useRecoilState } from "recoil";
|
||||
import {selloutState} from "./state";
|
||||
|
||||
export const useListingModal = () => {
|
||||
const [ modal, setModal ] = useRecoilState(selloutState.listingModal);
|
||||
return { modal, setModal }
|
||||
}
|
||||
Reference in new issue
Block a user