Skip to content
Permalink
Browse files

fix(console): fix "str.split error" bug: fix ConsoleBaseComponent->bu…

…ildMultiLineStringComponent
  • Loading branch information...
yyc-git committed Jun 1, 2019
1 parent b149ac7 commit 272a8ba776e11dcf3c0b38de7ab910b1f3b5b080
@@ -10,6 +10,7 @@ type action =
module Method = {
let buildMultiLineStringComponent = str =>
str
|> Js.String.make
|> Js.String.split("\n")
|> Js.Array.mapi((info, i) =>
<p key={"info" ++ (i |> string_of_int)} className="multi-line-str">

0 comments on commit 272a8ba

Please sign in to comment.
You can’t perform that action at this time.