Skip to content

Commit 7a2e9f6

Browse files
committed
chore: format
1 parent 26471d4 commit 7a2e9f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/hooks/use-navigation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ Any POST, PUT, PATCH, or DELETE navigation that started from a `<Form>` or `useS
123123

124124
In the case of a GET form submission, `navigation.formMethod` will be empty
125125

126-
Here is an example. Please note that `navigation.formMethod` is in lowercase
126+
Here is an example. Please note that `navigation.formMethod` is in lowercase
127127

128128
```tsx
129129
function SubmitButton() {
130130
const navigation = useNavigation();
131-
if (navigation.formMethod){
132-
console.log(navigation.formMethod) // post
131+
if (navigation.formMethod) {
132+
console.log(navigation.formMethod); // post
133133
}
134134

135135
return (

0 commit comments

Comments
 (0)