Skip to content

Commit

Permalink
Add React import to multiple components
Browse files Browse the repository at this point in the history
  • Loading branch information
Munchies69 committed Jun 19, 2024
1 parent ff649fd commit 4e50a18
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/moon-react/src/components/AuthModal/AuthModal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { useState } from "react";
import { AuthModalConfig } from "../../types";
import { useMoonSDK } from "../../context";
Expand Down
1 change: 1 addition & 0 deletions packages/moon-react/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { useMoonSDK } from "../..";
import { AuthModalConfig } from "../../types";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useState } from "react";
import { useMoonSDK } from "../../context";
import { AuthModalConfig } from "../../types";
import Button from "../Button/Button";
import React from "react";

interface EmailLoginProps {
config: AuthModalConfig;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useMoonSDK } from "../../context";
import { FaChevronRight, FaUser } from "react-icons/fa";
import Button from "../Button/Button";
import React from "react";
function SignInAnonymously() {
const { supabase, authConfig } = useMoonSDK();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { FcGoogle } from "react-icons/fc";
import { useMoonSDK } from "../../context";
import { SocialLogins as SocialLoginsType } from "../../types";
import getEnvVariables from "../../utils/getEnvVariables";
import React from "react";

interface SocialLoginsProps {
socialLogins: SocialLoginsType;
Expand Down

0 comments on commit 4e50a18

Please sign in to comment.