mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-15 11:12:49 +03:00
Stop retrying the review lookup in the explore detail menu when it 404s
This commit is contained in:
@@ -55,6 +55,7 @@ export default function DetailActionsMenu({
|
|||||||
// currently, audio event ids are not saved in review items
|
// currently, audio event ids are not saved in review items
|
||||||
const { data: reviewItem } = useSWR<ReviewSegment>(
|
const { data: reviewItem } = useSWR<ReviewSegment>(
|
||||||
search.data?.type === "audio" ? null : [`review/event/${search.id}`],
|
search.data?.type === "audio" ? null : [`review/event/${search.id}`],
|
||||||
|
{ shouldRetryOnError: false },
|
||||||
);
|
);
|
||||||
|
|
||||||
const handleDebugReplay = useCallback(() => {
|
const handleDebugReplay = useCallback(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user