Skip to content

Commit

Permalink
Lint rules debugged
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopkarnik committed Jul 30, 2024
1 parent 4c06eca commit 7620e5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const Connected = () => {
};

getConnections();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [session]);

if (!session) {
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard-app/app/(dashboard)/connections/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const PlannerPage = () => {
}
}
onUserConnection()
// eslint-disable-next-line react-hooks/exhaustive-deps
},[access_token,refresh_token, scopes, workspace_id,workspace_icon,workspace_name,database_id,apiKey,user,type,userId])


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const Settings = () => {
}
}
updateAccounts()
// eslint-disable-next-line react-hooks/exhaustive-deps
},[])

const getChannels = async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const YoutubeVideos = ({filterOption}:{filterOption:string}) => {
useEffect(() => {
if (!userId || !videosDbId || !apiToken) return
console.log('fetching cards')
fetchCards(null)
fetchCards(null)
// eslint-disable-next-line react-hooks/exhaustive-deps
},[channelId,filterOption])

const loadMore = () => {
Expand Down

0 comments on commit 7620e5e

Please sign in to comment.