mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-23 02:05:27 +02:00
Fixed: Opening episode info modal on calendar event click
This commit is contained in:
parent
99e25cec0f
commit
220b4bc257
@ -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 New Issue
Block a user