mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 10:01:38 +08:00
fix typo
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "10.26.2",
|
||||
"version": "10.26.3",
|
||||
"description": "react-native hot update",
|
||||
"main": "src/index",
|
||||
"scripts": {
|
||||
|
@@ -278,7 +278,7 @@ export const UpdateProvider = ({
|
||||
|
||||
const parseTestPayload = useCallback(
|
||||
(payload: UpdateTestPayload) => {
|
||||
if (payload && payload.type && payload.type.startsWith('__rnUpdate')) {
|
||||
if (payload && payload.type && payload.type.startsWith('__rnPushy')) {
|
||||
const logger = options.logger || (() => {});
|
||||
options.logger = ({ type, data }) => {
|
||||
logger({ type, data });
|
||||
|
Reference in New Issue
Block a user