Skip to content

Commit

Permalink
feedback card show on top after click
Browse files Browse the repository at this point in the history
  • Loading branch information
surendran82 committed Feb 5, 2024
1 parent 22bff1b commit 28985ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Feedback/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ export const Feedback = ({ metadata }: { metadata: any }) => {
setErrorText(null);
setRating(scoreItem);
// // feedback scroll
// if (typeof window !== "undefined") {
// window.location.hash = 'feedback';
// }
if (typeof window !== "undefined") {
window.location.hash = 'feedback';
}
if (scoreItem < 4) {
setTextAreaLabel(
<>
Expand Down

0 comments on commit 28985ed

Please sign in to comment.