Skip to content

Commit

Permalink
Use alias instead of relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Jun 22, 2024
1 parent 40e5fed commit 62c5f80
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/roboshield/src/components/Finish/Finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box, Snackbar } from "@mui/material";
import { useEffect, useState } from "react";

import Code from "../Code";
import StepperNav from "../StepperNav";
import StepperNav from "@/roboshield/components/StepperNav";

import { useGlobalState } from "@/roboshield/context/GlobalContext";
import { generateRobots } from "@/roboshield/lib/robots";
Expand Down
2 changes: 1 addition & 1 deletion apps/roboshield/src/components/Sitemaps/Sitemaps.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Box, TextareaAutosize } from "@mui/material";
import { ChangeEvent, useState } from "react";

import StepperNav from "../StepperNav";
import StepperNav from "@/roboshield/components/StepperNav";

import { useGlobalState } from "@/roboshield/context/GlobalContext";
import { StepComponent } from "@/roboshield/types/stepComponent";
Expand Down
2 changes: 1 addition & 1 deletion apps/roboshield/src/context/GlobalContext.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { createContext, useState, useContext } from "react";

import { Robot, robots } from "../lib/robots-data";
import { Robot, robots } from "@/roboshield/lib/robots-data";

export interface GlobalState {
shouldFetch: boolean;
Expand Down
8 changes: 4 additions & 4 deletions apps/roboshield/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ import { useEffect } from "react";
import React from "react";
import { useRef, useState } from "react";

import CodeEditor from "../components/Code/CodeEditor";
import Delays from "../components/Delays";
import Hero from "../components/Hero";
import Sitemaps from "../components/Sitemaps";
import CodeEditor from "@/roboshield/components/Code/CodeEditor";
import Delays from "@/roboshield/components/Delays";
import Hero from "@/roboshield/components/Hero";
import Sitemaps from "@/roboshield/components/Sitemaps";

import CommonBots from "@/roboshield/components/CommonBots";
import CommonSettings from "@/roboshield/components/CommonSettings";
Expand Down

0 comments on commit 62c5f80

Please sign in to comment.