-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ui): Prepend unused query keys with an underscore
There is a bug [1] in the codegen tool that causes it to generate unused query keys for requests with no parameters. This commit renames the unused query keys to start with an underscore '_' to pass the lint checks for unused variables. NOTE: This is not a lasting solution, as every regeneration of the query client will revert these changes. [1]: 7nohe/openapi-react-query-codegen#112 Signed-off-by: Jyrki Keisala <[email protected]>
- Loading branch information
1 parent
0a6abb4
commit a3c078d
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters