(state: MutationStatus)
| 54 | } |
| 55 | |
| 56 | const getIcon = (state: MutationStatus) => { |
| 57 | if (state === 'pending') { |
| 58 | return <Loader />; |
| 59 | } |
| 60 | |
| 61 | if (state === 'success') { |
| 62 | return <ChecklistAIcon className="text-accent-avocado-default" />; |
| 63 | } |
| 64 | |
| 65 | return null; |
| 66 | }; |
| 67 | |
| 68 | interface ItemProps { |
| 69 | name: string; |
no outgoing calls
no test coverage detected