Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Handle initial option

Manav Rathi025b8f7bcf3b
diff --git a/web/apps/photos/src/components/FixCreationTime.tsx b/web/apps/photos/src/components/FixCreationTime.tsx
index 069eafc9e9..836da7924a 100644
--- a/web/apps/photos/src/components/FixCreationTime.tsx
+++ b/web/apps/photos/src/components/FixCreationTime.tsx
@@ -185,7 +185,11 @@ const OptionsForm: React.FC<OptionsFormProps> = ({ step, onSubmit, hide }) => {
{t("UPDATE_CREATION_TIME_NOT_STARTED")}
</FormLabel>
</FormControl>
- <RadioGroup name={"option"} onChange={handleChange}>
+ <RadioGroup
+ name={"option"}
+ value={values.option}
+ onChange={handleChange}
+ >
<FormControlLabel
value={"date-time-original"}
control={<Radio size="small" />}