fix: update props to use new mui syntax

This commit is contained in:
Markus
2026-08-07 15:28:15 +03:00
parent 6b51fbe14e
commit 595d5626f1
5 changed files with 10 additions and 30 deletions
@@ -108,9 +108,7 @@ export const SprintListItem = (props) => {
aria-describedby="date"
value={newStartDate}
onChange={(e) => setNewStartDate(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
)}
@@ -129,9 +127,7 @@ export const SprintListItem = (props) => {
aria-describedby="date"
value={newEndDate}
onChange={(e) => setNewEndDate(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
)}
+1 -3
View File
@@ -103,9 +103,7 @@ const QuestionSetForm = ({ initialName, initialQuestionsJson, onSubmit, controls
}
]
`}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
/>
{controls}
</form>
@@ -83,9 +83,7 @@ const SprintsPage = (props) => {
type="number"
value={sprintNumber}
onChange={(e) => setSprintNumber(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
<TextField
@@ -96,9 +94,7 @@ const SprintsPage = (props) => {
aria-describedby="startDate"
value={startDate}
onChange={(e) => setStartDate(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
<TextField
@@ -109,9 +105,7 @@ const SprintsPage = (props) => {
aria-describedby="endDate"
value={endDate}
onChange={(e) => setEndDate(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
</div>
@@ -84,9 +84,7 @@ const TagsPage = (props) => {
type="text"
value={tagTitle}
onChange={(e) => setTagTitle(e.target.value)}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
</div>
@@ -71,9 +71,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
aria-describedby="date"
value={date}
onChange={handleDateChange}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
<TextField
@@ -86,9 +84,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
aria-describedby="time"
value={time}
onChange={handleTimeChange}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
<TextField
@@ -101,9 +97,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
multiline
value={description}
onChange={handleDescriptionChange}
InputLabelProps={{
shrink: true,
}}
slotProps={{ inputLabel: { shrink: true } }}
variant="outlined"
/>
<TagSelect