summaryrefslogtreecommitdiff
path: root/examples/js/simple-bar
diff options
context:
space:
mode:
Diffstat (limited to 'examples/js/simple-bar')
-rw-r--r--examples/js/simple-bar/widget/Bar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/js/simple-bar/widget/Bar.tsx b/examples/js/simple-bar/widget/Bar.tsx
index 19e1133..644e835 100644
--- a/examples/js/simple-bar/widget/Bar.tsx
+++ b/examples/js/simple-bar/widget/Bar.tsx
@@ -56,7 +56,7 @@ function BatteryLevel() {
return <box className="Battery"
visible={bind(bat, "isPresent")}>
- <icon icon={bind(bat, "iconName")} />
+ <icon icon={bind(bat, "batteryIconName")} />
<label label={bind(bat, "percentage").as(p =>
`${Math.floor(p * 100)} %`
)} />