(open: boolean)
| 106 | }, [selectedIndex]); |
| 107 | |
| 108 | const handleClose = (open: boolean) => { |
| 109 | if (!open) { |
| 110 | setDialogOpen(false); |
| 111 | setInput(""); |
| 112 | } |
| 113 | }; |
| 114 | |
| 115 | return ( |
| 116 | <Dialog open={dialogOpen} onOpenChange={handleClose}> |
nothing calls this directly
no outgoing calls
no test coverage detected