Skip to content

Commit

Permalink
fix(gluwave): Settings profile typo #177
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalhama committed Oct 10, 2024
1 parent 401e7ea commit 8640168
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions gluwave/src/app/(menu)/settings/settings-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function SettingsForm({ defaultValues }: Props) {
name="carbohydrateRatio"
render={({ field }) => (
<FormItem>
<FormLabel>Carbohydrate ratio (g/U)</FormLabel>
<FormLabel>Carbohydrate ratio</FormLabel>
<FormControl>
<Input
type="text"
Expand All @@ -60,7 +60,7 @@ export function SettingsForm({ defaultValues }: Props) {
onChange={(val) => field.onChange(val.target.value)}
/>
</FormControl>
<FormDescription />
<FormDescription>g / U</FormDescription>
<FormMessage />
</FormItem>
)}
Expand All @@ -70,9 +70,7 @@ export function SettingsForm({ defaultValues }: Props) {
name="correctionRatio"
render={({ field }) => (
<FormItem>
<FormLabel>
Correction ratio for high blood glucose (mmol/l / U)
</FormLabel>
<FormLabel>Correction ratio for high blood glucose</FormLabel>
<FormControl>
<Input
type="text"
Expand All @@ -81,16 +79,13 @@ export function SettingsForm({ defaultValues }: Props) {
onChange={(val) => field.onChange(val.target.value)}
/>
</FormControl>
<FormDescription />
<FormDescription>mmol/l / U</FormDescription>
<FormMessage />
</FormItem>
)}
/>
<FormItem>
<FormLabel>
Carbs to glucose increase ratio based on above (g / mmol/l).
(Based on above ICR and ISF)
</FormLabel>
<FormLabel>Carbs to glucose ratio</FormLabel>
<FormControl>
<Input
type="text"
Expand All @@ -105,7 +100,10 @@ export function SettingsForm({ defaultValues }: Props) {
disabled
/>
</FormControl>
<FormDescription />
<FormDescription>
<div>g / mmol/l</div>
<div>Based on above ICR and ISF</div>
</FormDescription>
<FormMessage />
</FormItem>
<FormField
Expand Down

0 comments on commit 8640168

Please sign in to comment.