Merge pull request #783 from ajnart/deepsource-autofix-1247c7e2

Replace short hand type conversions with function calls
This commit is contained in:
Thomas Camlong
2023-04-01 08:15:37 +09:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ export const useGetUsenetInfo = (params: UsenetInfoRequestParams) =>
refetchInterval: POLLING_INTERVAL,
keepPreviousData: true,
retry: 2,
enabled: !!params.appId,
enabled: Boolean(params.appId),
}
);