Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
maxknivets committed Oct 4, 2024
1 parent 2a1b01c commit 1881f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hooks/useLambdaState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useQuery } from '@tanstack/react-query';

export function useLambdaState() {
const { data, error, isLoading } = useQuery({
queryKey: ['lambda-state'],
queryFn: async () => {
queryKey: [ 'lambda-state' ],
queryFn: async() => {
const response = await fetch('https://ark-lambda-api.vercel.app/api/ark-lambda');
return response.json();
},
Expand Down

0 comments on commit 1881f15

Please sign in to comment.