diff --git a/imports/pages/give/review/__tests__/__snapshots__/index.js.snap b/imports/pages/give/review/__tests__/__snapshots__/index.js.snap index 81c323568..0b1a318aa 100644 --- a/imports/pages/give/review/__tests__/__snapshots__/index.js.snap +++ b/imports/pages/give/review/__tests__/__snapshots__/index.js.snap @@ -7,22 +7,45 @@ exports[`GiveReviewTemplate returns component based on state 1`] = ` exports[`GiveReviewTemplate returns component based on state 1`] = ` + } + url={false} + userId="jY4RT2WK55yKYtj4y" /> `; exports[`GiveReviewTemplate returns component based on state 1`] = ` diff --git a/imports/pages/give/review/index.js b/imports/pages/give/review/index.js index 338875712..ee6c90794 100644 --- a/imports/pages/give/review/index.js +++ b/imports/pages/give/review/index.js @@ -74,7 +74,6 @@ export class Template extends Component { render() { const { state, errors, total, data } = this.props.give; - switch (state) { case "loading": return ; @@ -97,7 +96,7 @@ export class Template extends Component { onClick={() => {}} />); default: - return ; + return ; } } }