Skip to content

Commit c96239f

Browse files
authored
docs(native): fix typo (#2976)
1 parent f4306be commit c96239f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/native-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import { Camera, CameraResultType } from '@capacitor/camera';
126126
import { useState } from 'react';
127127
128128
export function CameraComponent() {
129-
const [imageSrc, setImageSrc] = usetState('');
129+
const [imageSrc, setImageSrc] = useState('');
130130
131131
const takePicture = async () => {
132132
const image = await Camera.getPhoto({

0 commit comments

Comments
 (0)