Skip to content

Commit 1b7915b

Browse files
committed
fix: backgrounds values undefined
1 parent 924c0c6 commit 1b7915b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ondevice-backgrounds/src/BackgroundPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const BackgroundPanel = ({ active, api, channel }: BackgroundPanelProps) => {
7979
};
8080
return (
8181
<View style={{ padding: 10 }}>
82-
{backgrounds ? (
82+
{backgrounds?.values ? (
8383
backgrounds.values.map(({ value, name }) => (
8484
<View key={`${name} ${value}`}>
8585
<Swatch value={value} name={name} setBackground={setBackgroundFromSwatch} />

0 commit comments

Comments
 (0)