Skip to content

Commit

Permalink
refactor: stack case statements with the same return
Browse files Browse the repository at this point in the history
- As per: #2716 (comment)

Co-authored-by: Dafydd Llŷr Pearson <[email protected]>
  • Loading branch information
Mike-Heneghan and DafyddLlyr committed Feb 2, 2024
1 parent 938bef5 commit e0aa9f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor.planx.uk/src/components/Feedback/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const Feedback: React.FC = () => {
const shouldScrollToView = () => {
switch (currentFeedbackView) {
case "banner":
return false;
case "thanks":
return false;
default:
Expand Down

0 comments on commit e0aa9f6

Please sign in to comment.