Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-agenta committed Nov 25, 2024
1 parent 643fe43 commit 525d77c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agenta-web/src/contexts/app.context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const useApps = () => {
const {selectedOrg, loading} = useOrgData()
const {data, error, isLoading, mutate} = useSWR(
!!user
? `${getAgentaApiUrl()}/api/apps?` + (!isMockProjectId ? `project_id=${projectId}&` : "")
? `${getAgentaApiUrl()}/api/apps?` +
(!isMockProjectId ? `project_id=${projectId}&` : "")
: null,
!!user ? (isDemo() ? (selectedOrg?.id ? axiosFetcher : () => {}) : axiosFetcher) : null,
{
Expand Down

0 comments on commit 525d77c

Please sign in to comment.