Skip to content

Commit

Permalink
fix(core): fix $$typeof() not implemented error (#4013)
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd authored Jan 5, 2021
1 parent 702e2dd commit c7f80b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ export const createCapacitor = (win: WindowCapacitor): CapacitorInstance => {
return func;
}

// https://github.com/facebook/react/issues/20030
if (prop === '$$typeof') {
return undefined;
}

throw new CapacitorException(
`"${pluginName}.${
prop as any
Expand Down

0 comments on commit c7f80b5

Please sign in to comment.