Skip to content

Commit

Permalink
fix: getInstance returns nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
EmixamPP committed Aug 27, 2024
1 parent 6be145f commit 44e4cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/react/core/reconciler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const getUid = () => {
const instanceMap = new Map();

export const getInstance = (uid) => {
return instanceMap[uid];
return instanceMap.get(uid);
};

const HostConfig = {
Expand Down

0 comments on commit 44e4cde

Please sign in to comment.