Skip to content

Commit 974615e

Browse files
committed
docs: axios-hooks doc fix
1 parent 079c7f8 commit 974615e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/axios-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function App() {
1616
'https://reqres.in/api/users?delay=1'
1717
)
1818

19-
if (loading) return <p>Loading...</p>
20-
if (error) return <p>Error!</p>
19+
if (loading) return <Text>Loading...</Text>
20+
if (error) return <Text>Error!</Text>
2121

2222
return (
2323
<View>

0 commit comments

Comments
 (0)