From 275e028151808fdf436741a912bb90e48ad5f682 Mon Sep 17 00:00:00 2001 From: Zero Date: Tue, 18 May 2021 09:57:46 +0800 Subject: [PATCH] chore(spug_web): improve code --- spug_web/src/pages/host/Form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/spug_web/src/pages/host/Form.js b/spug_web/src/pages/host/Form.js index 740df94..1deadc8 100644 --- a/spug_web/src/pages/host/Form.js +++ b/spug_web/src/pages/host/Form.js @@ -56,6 +56,7 @@ class ComForm extends React.Component { store.fetchRecords() } }) + .catch(() => null) .finally(() => { this.setState({loading: false}); });