Skip to content

Commit afa2aa1

Browse files
authored
docs(auth, phone): add missing useEffect import in sample code
1 parent f53dc2d commit afa2aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/auth/phone-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ a code. Based on whether the code is correct for the device, the method rejects
5454
The example below demonstrates how you could setup such a flow within your own application:
5555

5656
```jsx
57-
import React, { useState } from 'react';
57+
import React, { useState, useEffect } from 'react';
5858
import { Button, TextInput } from 'react-native';
5959
import auth from '@react-native-firebase/auth';
6060

0 commit comments

Comments
 (0)