mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-21 13:13:58 +08:00
add cresc
This commit is contained in:
@@ -41,6 +41,8 @@ export const UpdateContext = createContext<{
|
||||
lastError?: Error;
|
||||
}>(defaultContext);
|
||||
|
||||
export const usePushy = () => useContext(UpdateContext);
|
||||
export const useUpdate = () => useContext(UpdateContext);
|
||||
|
||||
export const useCresc = () => useContext(UpdateContext);
|
||||
export const usePushy = useUpdate;
|
||||
|
||||
export const useCresc = useUpdate;
|
||||
|
||||
Reference in New Issue
Block a user