Skip to content

Commit

Permalink
🐛 Fix: change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Aug 12, 2024
1 parent 6a3a57f commit 32f5486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/sender/demo/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Button } from 'antd';
import { OpenAIOutlined } from '@ant-design/icons';

const App: React.FC = () => {
const OutLink = <Button type="dashed" icon={<OpenAIOutlined />} />;
const openailink = <Button type="dashed" icon={<OpenAIOutlined />} />;
const [loading, setLoading] = React.useState(true);
return (
<Sender
Expand All @@ -28,7 +28,7 @@ const App: React.FC = () => {
},
render: ([clear, load, send]) => {
if (loading) {
return [clear, OutLink, load];
return [clear, openailink, load];
}
return [clear, send];
},
Expand Down

0 comments on commit 32f5486

Please sign in to comment.