Commit 7582288e authored by Michael Underwood's avatar Michael Underwood
Browse files

Drop nullish coalescing assignment

parent d60a14d9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -403,9 +403,9 @@ export default defineComponent({
    return { root, ready, leafletObject, attrs };
  },
  render({ attrs }: { attrs: StyleableAttrs }) {
    attrs.style ??= {};
    attrs.style["width"] ??= "100%";
    attrs.style["height"] ??= "100%";
    if (!attrs.style) attrs.style = {};
    if (!attrs.style.width) attrs.style.width = "100%";
    if (!attrs.style.height) attrs.style.height = "100%";

    return h(
      "div",