Skip to content

Commit

Permalink
feat: up to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AmbitionsXXXV committed Nov 30, 2023
1 parent 0653029 commit d22393e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react/display-name */
import { Button } from 'antd'
import { useRequest } from 'etc-hooks'
import Mock from 'mockjs'
Expand All @@ -20,7 +21,7 @@ export default () => {

return (
<>
<p>Username: {loading ? 'Loading' : data}</p>
<p>Username: {loading ? 'Loading' : (data as string)}</p>

<Button type="primary" onClick={run}>
start
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react/display-name */
import { Button, message } from 'antd'
import { useRequest } from 'etc-hooks'
import Mock from 'mockjs'
Expand Down Expand Up @@ -25,7 +26,7 @@ export default () => {

return (
<>
<p>Username: {loading ? 'Loading' : data}</p>
<p>Username: {loading ? 'Loading' : (data as string)}</p>

<Button type="primary" onClick={run}>
start
Expand Down

0 comments on commit d22393e

Please sign in to comment.