Skip to content

Commit

Permalink
fix: undefined s in responsive table
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper Bollen authored and Casper Bollen committed Dec 4, 2023
1 parent b7fbf84 commit dd44f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Components/ResponsiveTable.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module ResponsiveTable =
if cell.field = "id" || String.IsNullOrWhiteSpace(cell.value) then JSX.jsx "<></>"
else
let b, s =
match s with
match cell.value with
| _ when cell.value.Contains("**") -> "h6", cell.value.Replace("**", "")
| _ when cell.value.Contains("*") -> "h5", cell.value.Replace("*", "")
| _ -> "subtitle2", cell.value
Expand Down

0 comments on commit dd44f44

Please sign in to comment.