Skip to content

Commit

Permalink
fix HydratingObject check
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Jan 6, 2024
1 parent 40c8dae commit 3e8c638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function createObject(info, gType) {
super(props);

if (gType == GType.OBJECT) {
if (_HydratingObject !== null) {
if (_HydratingObject === null) {
const gType = Reflect.getOwnMetadata("gi:gtype", this.constructor);

if (!gType) {
Expand Down

0 comments on commit 3e8c638

Please sign in to comment.