Skip to content

Commit

Permalink
make props optional to avoid passing empty object
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahkob committed May 29, 2024
1 parent fa0e7f7 commit 15bad54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-explorer/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function ExplorerPlugin(props: GraphiQLExplorerPluginProps) {
}

export function explorerPlugin(
props: GraphiQLExplorerPluginProps,
props?: GraphiQLExplorerPluginProps,
): GraphiQLPlugin {
return {
title: 'GraphiQL Explorer',
Expand Down

0 comments on commit 15bad54

Please sign in to comment.