From c744d2ae2b3d9c9bd687dca4efa4b67396939158 Mon Sep 17 00:00:00 2001 From: hz Date: Mon, 3 Jun 2019 00:41:56 +0800 Subject: [PATCH] lint --- src/models/setting.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/setting.ts b/src/models/setting.ts index 2ba1469e..d0d76da7 100644 --- a/src/models/setting.ts +++ b/src/models/setting.ts @@ -15,8 +15,7 @@ export interface SettingModelType { const updateTheme = (newPrimaryColor?: string) => { const timeOut = 0; const hideMessage = message.loading('正在切换主题!', timeOut); - themeColorClient.changeColor(newPrimaryColor) - .finally(() => hideMessage()); + themeColorClient.changeColor(newPrimaryColor).finally(() => hideMessage()); }; /* -- GitLab