mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-21 13:13:58 +08:00
Deprecate usePushy and PushyProvider; update exports in context and index files
This commit is contained in:
@@ -43,6 +43,5 @@ export const UpdateContext = createContext<{
|
||||
|
||||
export const useUpdate = () => useContext(UpdateContext);
|
||||
|
||||
/** @deprecated Please use `useUpdate` instead */
|
||||
export const usePushy = useUpdate;
|
||||
|
||||
export const useCresc = useUpdate;
|
||||
|
||||
Reference in New Issue
Block a user