Skip to content

Commit

Permalink
missed that
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Nov 1, 2024
1 parent 39d37d3 commit 067a8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
useEffect,
useState,
} from "react";
import { staticProvider } from "@/providers/static";
import { githubProvider } from "@/providers/github";

const DataContext = createContext<Data | undefined>(undefined);

const createApiClient = () => staticProvider;
const createApiClient = () => githubProvider;

export const DataProvider: React.FC<{
children: ReactNode | ReactNode[] | null;
Expand Down

0 comments on commit 067a8f8

Please sign in to comment.