From 587c5dd546f16e365445267e61b923f5a5b0d7a6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 2 Jan 2018 17:43:38 +0800 Subject: [PATCH] remove typescript code --- src/components/Login/LoginTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Login/LoginTab.js b/src/components/Login/LoginTab.js index 6b7d9758..750bfe7c 100644 --- a/src/components/Login/LoginTab.js +++ b/src/components/Login/LoginTab.js @@ -6,7 +6,7 @@ const { TabPane } = Tabs; const generateId = (() => { let i = 0; - return (prefix: string = '') => { + return (prefix = '') => { i += 1; return `${prefix}${i}`; }; -- GitLab