(pathname: string, itemTitle: string)
| 15 | } |
| 16 | |
| 17 | function locationDescriptor(pathname: string, itemTitle: string) { |
| 18 | return { |
| 19 | pathname, |
| 20 | query: {}, |
| 21 | search: '', |
| 22 | state: { |
| 23 | itemTitle, |
| 24 | }, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | function CloseButton({ toggleForm }: { toggleForm: () => void }) { |
| 29 | return ( |
no outgoing calls
no test coverage detected