From 837144e735684668ff6104982d4cc74032679d8c Mon Sep 17 00:00:00 2001 From: wuduoyi Date: Fri, 3 Sep 2021 10:14:32 +0800 Subject: [PATCH] =?UTF-8?q?typo:=20=E7=B3=BB=E7=BB=9F=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E6=98=AF=20System.notify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/components/Play.jsx | 2 +- examples/embed.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/components/Play.jsx b/examples/components/Play.jsx index c2d068ae0..6d72c1aab 100644 --- a/examples/components/Play.jsx +++ b/examples/components/Play.jsx @@ -190,7 +190,7 @@ export default class PlayGround extends React.Component { toast[type] ? toast[type]( msg, - type === 'error' ? __('System.error') : __('System.message') + type === 'error' ? __('System.error') : __('System.notify') ) : console.warn('[Notify]', type, msg), alert, diff --git a/examples/embed.tsx b/examples/embed.tsx index 0685df8f1..63489a339 100644 --- a/examples/embed.tsx +++ b/examples/embed.tsx @@ -170,7 +170,7 @@ export function embed( toast[type] ? toast[type]( msg, - type === 'error' ? __('System.error') : __('System.message') + type === 'error' ? __('System.error') : __('System.notify') ) : console.warn('[Notify]', type, msg), alert,