1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-12-21 13:13:58 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

add cresc

This commit is contained in:
sunnylqm
2025-02-21 18:41:39 +08:00
parent 66c2504718
commit e150db486a
3 changed files with 9 additions and 8 deletions

View File

@@ -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;