clean up unused js parts

This commit is contained in:
Johannes Kirschbauer
2023-10-03 10:39:49 +02:00
parent 7c1e04a7d6
commit b27dad1cc4
24 changed files with 135 additions and 201 deletions

View File

@@ -8,7 +8,6 @@ import {
ListItem,
ListItemIcon,
ListItemText,
Typography,
} from "@mui/material";
import Link from "next/link";
import React from "react";

View File

@@ -1,7 +1,5 @@
import { DashboardCard } from "@/components/card";
import Image from "next/image";
import { ReactNode } from "react";
interface AppCardProps {
name: string;
icon?: string;
@@ -32,11 +30,6 @@ const AppCard = (props: AppCardProps) => {
);
};
type App = {
name: string;
icon?: string;
};
const apps = [
{
name: "Firefox",

View File

@@ -1,17 +1,12 @@
import { DashboardCard } from "@/components/card";
import { notificationData } from "@/data/dashboardData";
import { tw } from "@/utils/tailwind";
import {
Avatar,
Chip,
List,
ListItem,
ListItemAvatar,
ListItemButton,
ListItemIcon,
ListItemText,
} from "@mui/material";
import { Label } from "recharts";
import CheckIcon from "@mui/icons-material/Check";
import InfoIcon from "@mui/icons-material/Info";

View File

@@ -1,6 +1,6 @@
"use client";
import { DashboardCard } from "@/components/card";
import { Button, Fab } from "@mui/material";
import { Fab } from "@mui/material";
import { MouseEventHandler, ReactNode } from "react";
import LanIcon from "@mui/icons-material/Lan";

View File

@@ -19,7 +19,7 @@ interface TaskEntryProps {
details?: string;
}
const TaskEntry = (props: TaskEntryProps) => {
const { result, task, details, status } = props;
const { result, task, status } = props;
return (
<>
<div className="col-span-1">{status}</div>