Skip to content

Commit

Permalink
fix: hideLoading options in redoc standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVarchuk committed Jul 30, 2021
1 parent 836c422 commit 1796031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RedocStandalone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface RedocStandaloneProps {

export const RedocStandalone = function (props: RedocStandaloneProps) {
const { spec, specUrl, options = {}, onLoaded } = props;
const hideLoading = options.hideLoading !== undefined;
const hideLoading = options.hideLoading || false;

const normalizedOpts = new RedocNormalizedOptions(options);

Expand Down

0 comments on commit 1796031

Please sign in to comment.