mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-22 07:43:01 +00:00
Fixed: Opening episode info modal on calendar event click
This commit is contained in:
parent
99e25cec0f
commit
220b4bc257
1 changed files with 2 additions and 2 deletions
|
@ -74,12 +74,12 @@ function CalendarEvent(props: CalendarEventProps) {
|
|||
|
||||
const [isDetailsModalOpen, setIsDetailsModalOpen] = useState(false);
|
||||
|
||||
const handleDetailsModalClose = useCallback(() => {
|
||||
const handlePress = useCallback(() => {
|
||||
setIsDetailsModalOpen(true);
|
||||
onEventModalOpenToggle(true);
|
||||
}, [onEventModalOpenToggle]);
|
||||
|
||||
const handlePress = useCallback(() => {
|
||||
const handleDetailsModalClose = useCallback(() => {
|
||||
setIsDetailsModalOpen(false);
|
||||
onEventModalOpenToggle(false);
|
||||
}, [onEventModalOpenToggle]);
|
||||
|
|
Loading…
Reference in a new issue