Skip to content

Commit

Permalink
fix(options): remove suspense option (urql react only)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbicou committed Feb 13, 2023
1 parent 72cdeec commit 6bbf99e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import type { ClientOptions } from "@urql/core";
import defu from "defu";

// serializable URQL client options
export type ModuleClientOptions = Pick<
ClientOptions,
"preferGetMethod" | "requestPolicy" | "maskTypename" | "suspense"
>;
export type ModuleClientOptions = Pick<ClientOptions, "preferGetMethod" | "requestPolicy" | "maskTypename">;

// Module options TypeScript inteface definition
export interface ModuleOptions {
Expand All @@ -34,7 +31,7 @@ export default defineNuxtModule<ModuleOptions>({
// Default configuration options of the Nuxt module
defaults: {
ssrKey: "__URQL_DATA__",
endpoint: "http://host/graphql",
endpoint: "",
client: "urql.config",
},
async setup(options, nuxt) {
Expand Down

0 comments on commit 6bbf99e

Please sign in to comment.