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 492ab1d..19e1133 100644
--- a/examples/js/simple-bar/widget/Bar.tsx
+++ b/examples/js/simple-bar/widget/Bar.tsx
@@ -39,7 +39,7 @@ function Wifi() {
}
function AudioSlider() {
- const speaker = Wp.get_default_wp()?.audio.defaultSpeaker!
+ const speaker = Wp.get_default()?.audio.defaultSpeaker!
return <box className="AudioSlider" css="min-width: 140px">
<icon icon={bind(speaker, "volumeIcon")} />