mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-29 07:48:02 +00:00
Introduced tsconfig.app.json and tsconfig.base.json + Refactored eslint.config.js to the latest structure (#652)
* Introduced tsconfig.app.json and tsconfig.base.json * yarn.lock * Introduced tsconfig.app.json, tsconfig.base.jsonfig. * Refactored eslint.config.js to latest structure * Returned previous recommended rules. * More rules * Force import rules * Check * Check * Cleanup ESLint configuration and plugins * Cleanup heap: "writable",DD_RUM: "writable" from ESLint configuration * "scripts" moved to the top of package.json
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import { BsTrash3, BsArrowRepeat } from "react-icons/bs";
|
||||
import type { Chart, Repository } from "../../data/types";
|
||||
import ChartViewer from "./ChartViewer";
|
||||
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
||||
import apiService from "../../API/apiService";
|
||||
import Spinner from "../Spinner";
|
||||
import { useUpdateRepo } from "../../API/repositories";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { BsTrash3, BsArrowRepeat } from "react-icons/bs";
|
||||
import { useNavigate } from "react-router";
|
||||
|
||||
import apiService from "../../API/apiService";
|
||||
import { useUpdateRepo } from "../../API/repositories";
|
||||
import { useAppContext } from "../../context/AppContext";
|
||||
import type { Chart, Repository } from "../../data/types";
|
||||
import Spinner from "../Spinner";
|
||||
|
||||
import ChartViewer from "./ChartViewer";
|
||||
|
||||
type RepositoryViewerProps = {
|
||||
repository: Repository | undefined;
|
||||
@@ -40,8 +42,6 @@ function RepositoryViewer({ repository }: RepositoryViewerProps) {
|
||||
});
|
||||
|
||||
const removeRepository = async () => {
|
||||
//this is expected
|
||||
//eslint-disable-next-line no-alert
|
||||
if (confirm("Confirm removing repository?")) {
|
||||
try {
|
||||
setIsRemove(true);
|
||||
|
||||
Reference in New Issue
Block a user