Skip to content

Commit

Permalink
[frontend] Fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MananGandhi1810 committed Nov 6, 2024
1 parent c4a060e commit c6f7ffd
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion frontend/src/components/custom/AIChat.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ScrollArea } from "@radix-ui/react-scroll-area";
import React from "react";
import Markdown from "react-markdown";
import { Textarea } from "../ui/textarea";
import { Button } from "../ui/button";
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/custom/EditorialEditor.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { Textarea } from "../ui/textarea";
import ReactQuill from "react-quill";
import "react-quill/dist/quill.snow.css";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Code.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ function Code() {
Code Output
</p>
{output.map((o, i) => (
<div>
<div key={i}>
<p className="mt-3 text-lg">
Test Case{" "}
{i + 1}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/ForgotPassword.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { Button } from "@/components/ui/button.jsx";
import {
Card,
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Layout.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import NavBar from "@/components/custom/NavBar.jsx";
import React from "react";
import { Outlet } from "react-router-dom";
import { Toaster } from "@/components/ui/toaster.jsx";
import { ScrollArea } from "@/components/ui/scroll-area";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Leaderboard.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext } from "react";
import { useContext } from "react";
import {
Table,
TableBody,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Login.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useContext } from "react";
import { useState, useContext } from "react";
import { Button } from "@/components/ui/button.jsx";
import {
Card,
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/NoPageFound.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CircleX } from "lucide-react";
import React from "react";

function NoPageFound() {
return (
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Problems.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import {
Table,
TableBody,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Register.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { Button } from "@/components/ui/button.jsx";
import {
Card,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/ResetPassword.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from "react";
import { useState, useEffect } from "react";
import { Button } from "@/components/ui/button.jsx";
import {
Card,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/UserData.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { useLoaderData } from "react-router-dom";
import { Code2, FileText, Zap, Send } from "lucide-react";
import {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/VerifyOtp.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { Button } from "@/components/ui/button.jsx";
import {
Card,
Expand Down

0 comments on commit c6f7ffd

Please sign in to comment.