Skip to content

Commit 1b44096

Browse files
authored
fix: skip graphql query if parameter is null (#188)
1 parent dd6e369 commit 1b44096

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Skip graphl query if parameter is null
12+
1013
## [3.1.0] - 2025-10-09
1114

1215
### Fixed

react/MyOrganizationLink.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const MyOrganizationLink: FC = ({ render }: any) => {
2121

2222
const { data } = useQuery(GetBinding, {
2323
variables: { email: userEmail },
24+
skip: !userEmail,
2425
})
2526

2627
useEffect(() => {

0 commit comments

Comments
 (0)