Skip to content

Commit 63017ba

Browse files
authored
Merge pull request #8999 from ethereum/fix-hydration-feedbackwidget
Fix hydration issue on FeedbackWidget
2 parents 79b8694 + 9f64216 commit 63017ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FeedbackWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const FeedbackWidget: React.FC<FeedbackWidgetProps> = ({ location = "" }) => {
140140

141141
useKeyPress(`Escape`, handleClose)
142142

143-
if (!location.includes("/en/")) return null
143+
if (intl.locale !== "en") return null
144144
const closeButtonSize = "24px"
145145
return (
146146
<>

0 commit comments

Comments
 (0)