mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
fix linting errors - unused deps etc
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { useCallback, useMemo } from "react";
|
||||
|
||||
import { useAtomValue } from "jotai";
|
||||
import L, { LatLngLiteral } from "leaflet";
|
||||
import L from "leaflet";
|
||||
import "leaflet-defaulticon-compatibility";
|
||||
import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css";
|
||||
import "leaflet.smooth_marker_bouncing";
|
||||
|
||||
@@ -62,7 +62,7 @@ type MapProps = {
|
||||
export const Map = ({
|
||||
filters,
|
||||
legend,
|
||||
markers: markers,
|
||||
markers,
|
||||
iconCreateFunction,
|
||||
}: MapProps) => {
|
||||
const setMapBounds = useSetAtom(mapBoundsAtom);
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
"use server";
|
||||
|
||||
import { z } from "zod";
|
||||
|
||||
import { contactUsSchema } from "@/schemas";
|
||||
import { errorLog } from "@/utils/logger";
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
"use server";
|
||||
|
||||
import { ObjectId } from "mongodb";
|
||||
import { z } from "zod";
|
||||
|
||||
import { adapter, auth } from "@/auth";
|
||||
import { collections, dbConnect } from "@/server/mongodb";
|
||||
|
||||
+1
-1
@@ -80,5 +80,5 @@ export function generatePieSVG(
|
||||
return [...prev, [to, path(getDAttribute(radius, from, to), value.colour)]];
|
||||
}, []);
|
||||
|
||||
return svg(className, radius * 2, paths.map(([to, path]) => path).join(""));
|
||||
return svg(className, radius * 2, paths.map(([_to, path]) => path).join(""));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user