Skip to content

Commit

Permalink
🚸 fix: 优化提示文案
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 10, 2021
1 parent e86d3d7 commit fc7922e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/options/Token/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Token = () => {
onClick={async () => {
const data = await checkTokenValid();
if (data) {
message.success('Token 有效 🎉 ,将自动保存... ');
message.success('Token 有效,将自动保存... ');
syncToCloudStorage();
} else {
message.error('Token 无效,请重试');
Expand Down
2 changes: 1 addition & 1 deletion src/services/useYuqueTokenService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useYuqueTokenService = () => {

const syncToCloudStorage = useCallback(() => {
chrome.storage?.sync.set({ yuque_token: token });
message.success('保存成功');
message.success('保存成功 🎉');
}, [token]);

const resetToken = useCallback(() => {
Expand Down

0 comments on commit fc7922e

Please sign in to comment.