Skip to content

Commit 176167d

Browse files
committed
v0.1.4
1 parent 0cc19b5 commit 176167d

File tree

11 files changed

+24
-10
lines changed

11 files changed

+24
-10
lines changed

docs/next.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
const withNextra = require('nextra')('nextra-theme-docs', './theme.config.js')
1+
const withNextra = require('nextra')({
2+
theme: 'nextra-theme-docs',
3+
themeConfig: './theme.config.js',
4+
})
25
module.exports = withNextra()

docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"license": "MIT",
6+
"private": true,
67
"scripts": {
78
"dev": "next dev",
8-
"build": "next build"
9+
"build": "STORK_PATH=$(pwd)/bin/stork.bin next build",
10+
"start": "next start"
911
},
1012
"dependencies": {
1113
"next": "^10.2.0",

docs/pages/documentation/auth/use-auth-state-change.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Receive a notification every time an auth event happens. Composed in the [User Context example](/documentation/recipes/user-context).
44

5-
```js
5+
```js highlight=4,5,6
66
import { useAuthStateChange } from 'react-supabase'
77

88
function Page() {

docs/pages/documentation/auth/use-reset-password.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Sends reset request to email address.
44

5-
```js
5+
```js highlight=4,5,6,7,8,9
66
import { useResetPassword } from 'react-supabase'
77

88
function Page() {

docs/pages/documentation/auth/use-signin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Log in existing user, or login via a third-party provider.
44

5-
```js
5+
```js highlight=4,5,6,7,8,9
66
import { useSignIn } from 'react-supabase'
77

88
function Page() {

docs/pages/documentation/auth/use-signout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Remove logged in user and trigger a `SIGNED_OUT` event.
44

5-
```js
5+
```js highlight=4
66
import { useSignOut } from 'react-supabase'
77

88
function Page() {

docs/pages/documentation/auth/use-signup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Creates new user.
44

5-
```js
5+
```js highlight=4,5,6,7,8,9
66
import { useSignUp } from 'react-supabase'
77

88
function Page() {

docs/pages/documentation/data/use-delete.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Performs a DELETE on the table.
44

5-
```js
5+
```js highlight=4,5,6,7,8,9,10,11,12,13,14
66
import { useDelete } from 'react-supabase'
77

88
function Page() {
@@ -32,3 +32,5 @@ function Page() {
3232
return ...
3333
}
3434
```
35+
36+
Throws error during execute if `filter` is not passed during hook initialization or execute method directly.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
import Callout from 'nextra-theme-docs/callout'
2+
13
# useSelect
4+
5+
<Callout>
6+
When using a dynamic `filter`, you must ...
7+
</Callout>

docs/pages/documentation/use-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Allows you to access the Supabase client directly, which is useful for use cases not covered by existing hooks or other customer behavoir.
44

5-
```js
5+
```js highlight=4
66
import { useClient } from 'react-supabase'
77

88
function Page() {

0 commit comments

Comments
 (0)