We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06259d7 commit 831c5c9Copy full SHA for 831c5c9
src/Dodo/Common.purs
@@ -41,7 +41,7 @@ jsCurlies = flexGroup <<< encloseEmptyAlt open close (text "{}") <<< indent
41
close = flexAlt (text "}") (break <> text "}")
42
43
jsSquares :: forall a. Doc a -> Doc a
44
-jsSquares = flexGroup <<< encloseEmptyAlt open close (text "{}") <<< indent
+jsSquares = flexGroup <<< encloseEmptyAlt open close (text "[]") <<< indent
45
where
46
open = flexAlt (text "[") (text "[" <> break)
47
close = flexAlt (text "]") (break <> text "]")
0 commit comments