prettier fixes

This commit is contained in:
Justin Greywolf
2023-07-03 09:44:22 -07:00
parent 7a987a22c1
commit 96e5151aec

View File

@@ -25,7 +25,7 @@ const getBackgroundColor = (elem) => {
let backgroundColor;
while (parent && parent.tagName.toLowerCase() !== 'body') {
if(parent instanceof Element) {
if (parent instanceof Element) {
const computedStyle = getComputedStyle(parent);
backgroundColor = computedStyle.backgroundColor;