From 3aa87cc26fd58836b82c067b58a47e08e30a7784 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Thu, 4 Jun 2020 00:18:50 +0800
Subject: refactor(front): Make codes lint-clean!

---
 Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx')

diff --git a/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx b/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
index d96b3260..22fb1987 100644
--- a/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
+++ b/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
@@ -44,7 +44,7 @@ export default function TimelinePageTemplateUI<TTimeline, TEditItems>(
   const onPostEditHeightChange = React.useCallback((height: number): void => {
     const { current: bottomSpaceDiv } = bottomSpaceRef;
     if (bottomSpaceDiv != null) {
-      bottomSpaceDiv.style.height = height + 'px';
+      bottomSpaceDiv.style.height = `${height}px`;
     }
     if (height === 0) {
       const alertHost = getAlertHost();
@@ -54,7 +54,7 @@ export default function TimelinePageTemplateUI<TTimeline, TEditItems>(
     } else {
       const alertHost = getAlertHost();
       if (alertHost != null) {
-        alertHost.style.marginBottom = height + 'px';
+        alertHost.style.marginBottom = `${height}px`;
       }
     }
   }, []);
-- 
cgit v1.2.3

