Skip to content

Commit

Permalink
Fix comment casing in Dialog component
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Mar 26, 2024
1 parent 4785a51 commit 2657825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/opening-hours-editor/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Dialog = forwardRef<HTMLDialogElement, DialogType>(
return (
<dialog
ref={ref}
// close dialog when clicking outside of it (::backdrop pseudo-element)
// Close dialog when clicking outside of it (::backdrop pseudo-element)
onClick={({ currentTarget, target }) => {
if (currentTarget === target) {
closeDialog();
Expand Down

0 comments on commit 2657825

Please sign in to comment.