Skip to content

Commit

Permalink
feat(prettier.config.js) 🎉 add prettier-config, add prettier-tailwind…
Browse files Browse the repository at this point in the history
… plugin and update components for prettier
  • Loading branch information
gokhangunduz committed Sep 22, 2023
1 parent 0fa87f0 commit 3b1314d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions src/components/CreateForms/CreateEnvironmentFormStep1.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
import React, { Fragment, ReactElement, useEffect, useState } from "react";
import CreateRobotFormVDISessionCount from "../CreateRobotFormVDISessionCount/CreateRobotFormVDISessionCount";
import CreateRobotFormGpuResource from "../CreateRobotFormGpuResource/CreateRobotFormGpuResource";
import CreateRobotFormCancelButton from "../CreateRobotFormCancelButton/CreateRobotFormCancelButton";
import { CreateEnvironmentsFormStep1Validations } from "../../validations/EnvironmentsValidations";
import CreateRobotFormGpuResource from "../CreateRobotFormGpuResource/CreateRobotFormGpuResource";
import CreateRobotFormLoader from "../CreateRobotFormLoader/CreateRobotFormLoader";
import EnvironmentSelector from "../EnvironmentSelector/EnvironmentSelector";
import CreateRobotStorage from "../CreateRobotStorage/CreateRobotStorage";
import { createEnvironment } from "../../toolkit/EnvironmentSlice";
import { getGuideItem } from "../../functions/handleGuide";
import useCreateRobot from "../../hooks/useCreateRobot";
import { createRobot } from "../../toolkit/RobotSlice";
import InputToggle from "../InputToggle/InputToggle";
import useFunctions from "../../hooks/useFunctions";
import { useAppDispatch } from "../../hooks/redux";
import InputError from "../InputError/InputError";
import InputText from "../InputText/InputText";
import Seperator from "../Seperator/Seperator";
import TourGuide from "../TourGuide/TourGuide";
import InputText from "../InputText/InputText";
import { useParams } from "react-router-dom";
import useMain from "../../hooks/useMain";
import InfoTip from "../InfoTip/InfoTip";
import Button from "../Button/Button";
import { useFormik } from "formik";
import { toast } from "sonner";
import { getGuideItem } from "../../functions/handleGuide";
import TourGuide from "../TourGuide/TourGuide";
import { createEnvironment } from "../../toolkit/EnvironmentSlice";
import InputToggle from "../InputToggle/InputToggle";

interface ICreateEnvironmentFormStep1 {
isImportRobot?: boolean;
Expand Down
10 changes: 5 additions & 5 deletions src/components/CreateForms/CreateOrganizationForm.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { useFormik } from "formik";
import React, { ReactElement } from "react";
import { createOrganizationSchema } from "../../validations/OrganizationsValidations";
import CreateFormCancelButton from "../CreateFormCancelButton/CreateFormCancelButton";
import { createOrganization } from "../../toolkit/OrganizationSlice";
import { useAppDispatch } from "../../hooks/redux";
import InputError from "../InputError/InputError";
import InputText from "../InputText/InputText";
import Button from "../Button/Button";
import { useAppDispatch } from "../../hooks/redux";
import { createOrganization } from "../../toolkit/OrganizationSlice";
import React, { ReactElement } from "react";
import useMain from "../../hooks/useMain";
import InfoTip from "../InfoTip/InfoTip";
import CreateFormCancelButton from "../CreateFormCancelButton/CreateFormCancelButton";
import Button from "../Button/Button";

export default function CreateOrganizationForm(): ReactElement {
const { sidebarState, setSidebarState }: any = useMain();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import React, {
import OrganizationActionCells from "../../../components/TableActionCells/OrganizationActionCells";
import InformationWidget from "../../../components/InformationWidget/InformationWidget";
import { organizationNameViewer } from "../../../functions/GeneralFunctions";
import StateCell from "../../../components/TableInformationCells/StateCell";
import InfoCell from "../../../components/TableInformationCells/InfoCell";
import CountWidget from "../../../components/CountWidget/CountWidget";
import GeneralTable from "../../../components/Table/GeneralTable";
import TourGuide from "../../../components/TourGuide/TourGuide";
import DashboardLayout from "../../../layouts/DashboardLayout";
import StateCell from "../../../components/TableInformationCells/StateCell";
import InfoCell from "../../../components/TableInformationCells/InfoCell";
import { getGuideItem } from "../../../functions/handleGuide";
import useFunctions from "../../../hooks/useFunctions";
import { useParams } from "react-router-dom";
import TourGuide from "../../../components/TourGuide/TourGuide";
import { getGuideItem } from "../../../functions/handleGuide";

export default function MainDashboardPage(): ReactElement {
const [responseOrganizations, setResponseOrganizations] = useState<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import React, { ReactElement, useEffect, useMemo, useState } from "react";
import RoboticsCloudActionCells from "../../../components/TableActionCells/RoboticsCloudActionCells";
import InformationWidget from "../../../components/InformationWidget/InformationWidget";
import RegionsWidget from "../../../components/RegionsWidget/RegionsWidget";
import StateCell from "../../../components/TableInformationCells/StateCell";
import BasicCell from "../../../components/TableInformationCells/BasicCell";
import { stringCapitalization } from "../../../functions/GeneralFunctions";
import InfoCell from "../../../components/TableInformationCells/InfoCell";
import CountWidget from "../../../components/CountWidget/CountWidget";
import GeneralTable from "../../../components/Table/GeneralTable";
import TourGuide from "../../../components/TourGuide/TourGuide";
import DashboardLayout from "../../../layouts/DashboardLayout";
import StateCell from "../../../components/TableInformationCells/StateCell";
import BasicCell from "../../../components/TableInformationCells/BasicCell";
import InfoCell from "../../../components/TableInformationCells/InfoCell";
import { getGuideItem } from "../../../functions/handleGuide";
import useFunctions from "../../../hooks/useFunctions";
import { useParams } from "react-router-dom";
import useMain from "../../../hooks/useMain";
import TourGuide from "../../../components/TourGuide/TourGuide";
import { getGuideItem } from "../../../functions/handleGuide";

export default function OrganizationDashboardPage(): ReactElement {
const [reload, setReload] = useState<boolean>(false);
Expand Down
4 changes: 2 additions & 2 deletions src/pages/RobotPage/Overview/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import RobotStatusWidget from "../../../components/RobotStatusWidget/RobotStatus
import InformationWidget from "../../../components/InformationWidget/InformationWidget";
import ActivitiesWidget from "../../../components/ActivitiesWidget/ActivitiesWidget";
import RobotOverviewLayout from "../../../layouts/RobotOverviewLayout";
import useRobot from "../../../hooks/useRobot";
import { useParams } from "react-router-dom";
import TourGuide from "../../../components/TourGuide/TourGuide";
import { getGuideItem } from "../../../functions/handleGuide";
import useRobot from "../../../hooks/useRobot";
import { useParams } from "react-router-dom";

interface IOverview {
informationWidgetAction: () => void;
Expand Down

0 comments on commit 3b1314d

Please sign in to comment.