Skip to content

Commit 831c5c9

Browse files
author
Colin Wahl
authored
Correct default for jsSquares (#10)
1 parent 06259d7 commit 831c5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dodo/Common.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jsCurlies = flexGroup <<< encloseEmptyAlt open close (text "{}") <<< indent
4141
close = flexAlt (text "}") (break <> text "}")
4242

4343
jsSquares :: forall a. Doc a -> Doc a
44-
jsSquares = flexGroup <<< encloseEmptyAlt open close (text "{}") <<< indent
44+
jsSquares = flexGroup <<< encloseEmptyAlt open close (text "[]") <<< indent
4545
where
4646
open = flexAlt (text "[") (text "[" <> break)
4747
close = flexAlt (text "]") (break <> text "]")

0 commit comments

Comments
 (0)