Skip to content

Commit

Permalink
refactor: use atoms provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev committed Jan 5, 2024
1 parent 0ec9055 commit 5dcb542
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/platform/atoms/cal-provider/CalProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { ReactNode } from "react";
import { useState } from "react";

import { AtomsContext } from "../hooks/useAtomsContext";
import { useOAuthClient } from "../hooks/useOAuthClient";
import { useOAuthFlow } from "../hooks/useOAuthFlow";
import http from "../lib/http";
import { AtomsContext } from "./useProvider";

type CalProviderProps = {
children?: ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/atoms/gcal-connect/GcalConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { FC } from "react";
import { Button } from "@calcom/ui";
import { CalendarDays } from "@calcom/ui/components/icon";

import { useAtomsContext } from "../cal-provider/useProvider";
import { useAtomsContext } from "../hooks/useAtomsContext";
import { useGcal } from "../hooks/useGcal";

interface GcalConnectProps {
Expand Down

0 comments on commit 5dcb542

Please sign in to comment.