🏗️ (arch) change model folder to lib
change model to lib becase the model folder that will use for zod validation
This commit is contained in:
@ -5,8 +5,8 @@ import { OauthProviders } from "../../types/oauthProvidersList";
|
|||||||
import { ResponseRequestOauthUrl } from "../../types/responseRequestOauthUrl";
|
import { ResponseRequestOauthUrl } from "../../types/responseRequestOauthUrl";
|
||||||
import { Button } from "@heroui/react";
|
import { Button } from "@heroui/react";
|
||||||
import { Icon } from "@iconify/react";
|
import { Icon } from "@iconify/react";
|
||||||
import getOauthProviderList from "../../models/getOauthProviderList";
|
import getOauthProviderList from "../../lib/getOauthProviderList";
|
||||||
import requestOauthUrl from "../../models/requestOauthUrl";
|
import requestOauthUrl from "../../lib/requestOauthUrl";
|
||||||
|
|
||||||
const OAuthProviders = () => {
|
const OAuthProviders = () => {
|
||||||
// Set initial state for OAuth providers list
|
// Set initial state for OAuth providers list
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { addToast, Button, Form, Input } from "@heroui/react";
|
import { addToast, Button, Form, Input } from "@heroui/react";
|
||||||
import { SubmitHandler, useForm } from "react-hook-form";
|
import { SubmitHandler, useForm } from "react-hook-form";
|
||||||
import { submitRegisterForm } from "../../models/submitRegisterForm";
|
import { submitRegisterForm } from "../../lib/submitRegisterForm";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
fullname: string;
|
fullname: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user