Show "Saving..." for 0.5 seconds and show error if it occurred

This commit is contained in:
Yuya Ochiai
2017-02-16 21:55:44 +09:00
parent 949db4ffae
commit 8acd7b99e7
4 changed files with 78 additions and 40 deletions

View File

@@ -14,7 +14,7 @@ function AutoSaveIndicator(props) {
case 'saving':
return 'Saving...';
case 'saved':
return 'Saved!';
return 'Saved';
case 'error':
return errorMessage;
default: