Skip to content

Commit

Permalink
string interpolation issue solved
Browse files Browse the repository at this point in the history
  • Loading branch information
r-nikhilkumar committed May 10, 2024
1 parent 7e137d6 commit ab0f74e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/CriticalCareRecording/components/Slider.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ let make = (

<>
<section className={"slider-box " ++ className}>
<div className=`slider-head flex justify-${title != "" ? "between" : "center"} flex-col sm:flex-row sm:items-center`>
<div className=`slider-head flex ${title != "" ? "justify-between" : "justify-center"} flex-col sm:flex-row sm:items-center`>
<div className="flex items-center">
<h1 className="m-2"> {title->str} </h1> titleNeighbour
</div>
<div className=`flex flex-col items-${title != "" ? "end" : "center"} mt-2 sm:mt-0`>
<div className=`flex flex-col ${title != "" ? "items-end" : "items-center"} mt-2 sm:mt-0`>
<label htmlFor="measure" style={ReactDOM.Style.make(~color=textColor, ())}>
{switch value->Belt.Float.fromString {
| Some(_) => text->str
Expand Down

0 comments on commit ab0f74e

Please sign in to comment.