Skip to content

Commit 8650946

Browse files
Update docs/src/modules/components/AppLayoutDocsFooter.js
Co-authored-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> Signed-off-by: Olivier Tassinari <oliviertassinari@users.noreply.github.com>
1 parent 5cf012e commit 8650946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/modules/components/AppLayoutDocsFooter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export default function AppLayoutDocsFooter(props) {
337337
const handleSubmitComment = (event) => {
338338
event.preventDefault();
339339
// Block more than one submission.
340-
if (commentOpen !== true) {
340+
if (!commentOpen) {
341341
return;
342342
}
343343
setCommentOpen(false);

0 commit comments

Comments
 (0)