9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
![]() |
import { useContext } from "react";
|
||
|
|
||
|
import { shopContext } from "@saleor/components/Shop";
|
||
|
|
||
|
function useShop() {
|
||
|
return useContext(shopContext);
|
||
|
}
|
||
|
export default useShop;
|