Skip to content

Commit

Permalink
fix: check undefined view
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Aug 9, 2024
1 parent a888a78 commit 71712f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/hooks/biz/useEntryActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const useEntryActions = ({
}) => {
const checkEagle = useQuery({
queryKey: ["check-eagle"],
enabled: !!entry?.entries.url && !!view,
enabled: !!entry?.entries.url && view !== undefined,
queryFn: async () => {
try {
await ofetch("http://localhost:41595")
Expand Down

0 comments on commit 71712f4

Please sign in to comment.