From 2d0888d74fbe5f2c6bcaf9bdfcbb6caad4db11fc Mon Sep 17 00:00:00 2001 From: Max Morgan Date: Thu, 14 Mar 2024 12:35:45 -0400 Subject: [PATCH] Prevent user input in data size --- src/components/atoms/Icon/Icon.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/atoms/Icon/Icon.js b/src/components/atoms/Icon/Icon.js index aad09acf..3b474d0b 100644 --- a/src/components/atoms/Icon/Icon.js +++ b/src/components/atoms/Icon/Icon.js @@ -32,6 +32,7 @@ export default class Icon extends HTMLElement { break; default: + size = '24'; break; } const iconContainer = document.createElement('span');