summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAylur <[email protected]>2025-01-12 14:09:44 +0100
committerAylur <[email protected]>2025-01-12 14:09:49 +0100
commit6fd7ae514af36ff9baf1209a2eeebd3a26cf94ce (patch)
tree48bdb7557301b5093af7f70f42c59887a707314d
parent82fd9e6967f26333669fed137f6ef3a6969489d4 (diff)
chore: update gjs example
use camelCase to satisfy types
-rw-r--r--examples/js/simple-bar/widget/Bar.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/js/simple-bar/widget/Bar.tsx b/examples/js/simple-bar/widget/Bar.tsx
index b08ea27..6592f6a 100644
--- a/examples/js/simple-bar/widget/Bar.tsx
+++ b/examples/js/simple-bar/widget/Bar.tsx
@@ -16,8 +16,8 @@ function SysTray() {
<menubutton
tooltipMarkup={bind(item, "tooltipMarkup")}
usePopover={false}
- actionGroup={bind(item, "action-group").as(ag => ["dbusmenu", ag])}
- menuModel={bind(item, "menu-model")}>
+ actionGroup={bind(item, "actionGroup").as(ag => ["dbusmenu", ag])}
+ menuModel={bind(item, "menuModel")}>
<icon gicon={bind(item, "gicon")} />
</menubutton>
)))}