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 = () => {
9393## Making a Query
9494
9595``` javascript
96- import { useObsidian , BrowserCache } from ' https://deno.land/x/obsidian/clientMod.ts' ;
96+ import { useObsidian } from ' https://deno.land/x/obsidian/clientMod.ts' ;
9797
9898const MovieApp = () => {
99- const { query , cache , setCache } = useObsidian ();
99+ const { query } = useObsidian ();
100100 const [movies , setMovies ] = (React as any).useState (' ' );
101101
102102 const queryStr = ` query {
@@ -124,10 +124,10 @@ const MovieApp = () => {
124124## Making a Mutation
125125
126126``` javascript
127- import { useObsidian , BrowserCache } from ' https://deno.land/x/obsidian/clientMod.ts' ;
127+ import { useObsidian } from ' https://deno.land/x/obsidian/clientMod.ts' ;
128128
129129const MovieApp = () => {
130- const { mutate , cache , setCache } = useObsidian ();
130+ const { mutate } = useObsidian ();
131131 const [movies , setMovies ] = (React as any).useState (' ' );
132132
133133 const queryStr = ` mutation {
You can’t perform that action at this time.
0 commit comments