Minor changes
This commit is contained in:
parent
25eea46f0e
commit
f0f76ff96e
|
@ -245,7 +245,7 @@ let make = (~distPlus: DistTypes.distPlus) => {
|
|||
<button
|
||||
className=button
|
||||
onClick={_ => dispatch(CHANGE_LOG(index))}>
|
||||
{(state.log ? "log" : "linear") |> ReasonReact.string}
|
||||
{(config.log ? "x-log" : "x-linear") |> ReasonReact.string}
|
||||
</button>
|
||||
<button
|
||||
className=button
|
||||
|
@ -259,18 +259,18 @@ let make = (~distPlus: DistTypes.distPlus) => {
|
|||
<button
|
||||
className=button
|
||||
onClick={_ => dispatch(HEIGHT_INCREMENT(index))}>
|
||||
{"Expand" |> ReasonReact.string}
|
||||
{"expand" |> ReasonReact.string}
|
||||
</button>
|
||||
<button
|
||||
className=button
|
||||
onClick={_ => dispatch(HEIGHT_DECREMENT(index))}>
|
||||
{"Compress" |> ReasonReact.string}
|
||||
{"shrink" |> ReasonReact.string}
|
||||
</button>
|
||||
{index != 0
|
||||
? <button
|
||||
className=button
|
||||
onClick={_ => dispatch(REMOVE_DIST(index))}>
|
||||
{"Remove" |> ReasonReact.string}
|
||||
{"remove" |> ReasonReact.string}
|
||||
</button>
|
||||
: ReasonReact.null}
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,6 @@ type chartConfig = {
|
|||
};
|
||||
|
||||
type state = {
|
||||
log: bool,
|
||||
showStats: bool,
|
||||
showParams: bool,
|
||||
distributions: list(chartConfig),
|
||||
|
@ -87,7 +86,6 @@ let reducer = (state: state, action: action) =>
|
|||
};
|
||||
|
||||
let init = {
|
||||
log: false,
|
||||
showStats: false,
|
||||
showParams: false,
|
||||
distributions: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user