mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-23 09:38:52 +08:00
bump version to 10.31.0-beta.1, update TypeScript configuration to include .ts and .tsx files, and initialize stateListener with undefined
This commit is contained in:
@@ -35,7 +35,7 @@ export const UpdateProvider = ({
|
||||
client = useRef(client).current;
|
||||
const { options } = client;
|
||||
|
||||
const stateListener = useRef<NativeEventSubscription>();
|
||||
const stateListener = useRef<NativeEventSubscription>(undefined);
|
||||
const [updateInfo, setUpdateInfo] = useState<CheckResult>();
|
||||
const updateInfoRef = useRef(updateInfo);
|
||||
const [progress, setProgress] = useState<ProgressData>();
|
||||
|
Reference in New Issue
Block a user