File tree 2 files changed +3
-3
lines changed
web/src/features/todos/todo-list
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Typography } from '@equinor/eds-core-react'
2
2
import styled from 'styled-components'
3
3
4
- export const StyledTodoItemTitle = styled ( Typography ) < { isStruckThrough ?: boolean } > `
5
- text-decoration: ${ ( props ) => ( props . isStruckThrough ? 'line-through' : 'none' ) } ;
4
+ export const StyledTodoItemTitle = styled ( Typography ) < { $ isStruckThrough ?: boolean } > `
5
+ text-decoration: ${ ( props ) => ( props . $ isStruckThrough ? 'line-through' : 'none' ) } ;
6
6
`
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const TodoItem = ({ todo }: { todo: AddTodoResponse }) => {
26
26
< Card >
27
27
< Card . Header >
28
28
< Card . HeaderTitle >
29
- < StyledTodoItemTitle variant = "h5" isStruckThrough = { todo . is_completed } >
29
+ < StyledTodoItemTitle variant = "h5" $ isStruckThrough= { todo . is_completed } >
30
30
{ todo . title }
31
31
</ StyledTodoItemTitle >
32
32
< Typography variant = "body_short" > { statusOf ( todo . is_completed ) } </ Typography >
You can’t perform that action at this time.
0 commit comments