Skip to content

Commit

Permalink
Merge pull request #6 from Tasssadar/fix-grid
Browse files Browse the repository at this point in the history
fix: gridui class creation
  • Loading branch information
cubicap authored Jul 8, 2024
2 parents faebdf9 + 5a424a8 commit 709444a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/espFeatures/gridui/widgets/_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void GridUiContext::createClasses(jac::ContextRef context) {
.exotic = &builderExotic,
};
JS_NewClass(rt, _builderClassId, &builderClassDef);
JS_SetClassProto(context.get(), _widgetClassId, JS_DupValue(context.get(), proto));
JS_SetClassProto(context.get(), _builderClassId, JS_DupValue(context.get(), proto));

if(_widgetClassId == 0) {
JS_NewClassID(&_widgetClassId);
Expand Down

0 comments on commit 709444a

Please sign in to comment.