File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,10 @@ const App = () => {
93
93
## Making a Query
94
94
95
95
``` javascript
96
- import { useObsidian , BrowserCache } from ' https://deno.land/x/obsidian/clientMod.ts' ;
96
+ import { useObsidian } from ' https://deno.land/x/obsidian/clientMod.ts' ;
97
97
98
98
const MovieApp = () => {
99
- const { query , cache , setCache } = useObsidian ();
99
+ const { query } = useObsidian ();
100
100
const [movies , setMovies ] = (React as any).useState (' ' );
101
101
102
102
const queryStr = ` query {
@@ -124,10 +124,10 @@ const MovieApp = () => {
124
124
## Making a Mutation
125
125
126
126
``` javascript
127
- import { useObsidian , BrowserCache } from ' https://deno.land/x/obsidian/clientMod.ts' ;
127
+ import { useObsidian } from ' https://deno.land/x/obsidian/clientMod.ts' ;
128
128
129
129
const MovieApp = () => {
130
- const { mutate , cache , setCache } = useObsidian ();
130
+ const { mutate } = useObsidian ();
131
131
const [movies , setMovies ] = (React as any).useState (' ' );
132
132
133
133
const queryStr = ` mutation {
You can’t perform that action at this time.
0 commit comments