Skip to content

Commit d8c9546

Browse files
committed
Update Banner Color on toggle auto-theme
1 parent 89c5e3e commit d8c9546

File tree

1 file changed

+4
-0
lines changed
  • content/src/scripts/components/Pane

1 file changed

+4
-0
lines changed

content/src/scripts/components/Pane/Pane.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ function Pane({
4545
setReloading(true);
4646
});
4747

48+
useEffect(() => {
49+
setHeaderStyle(getHeaderBackgroundColor(options));
50+
}, [options]);
51+
4852
const URLDetails = fetchURLDetails();
4953

5054
return (

0 commit comments

Comments
 (0)