Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy lint fixes #170

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/censusmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import {
import CensusTractData from "../data/census-tracts_min.json";
import "leaflet/dist/leaflet.css";
import type { GeoJsonObject, Feature, Geometry } from "geojson";
import { Ref, useEffect, useRef, useState } from "react";
import { Layer, LeafletMouseEvent } from "leaflet";
import type { Ref } from "react";
import { useEffect, useRef, useState } from "react";
import type { Layer, LeafletMouseEvent } from "leaflet";
import EsriLeafletGeoSearch from "react-esri-leaflet/plugins/EsriLeafletGeoSearch";
import { api } from "../utils/api";
import Link from "next/link";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function handleError(error, res) {
}

const handler = nc({
onError: (err, req, res, next) => handleError(err, res),
onError: (err, req, res) => handleError(err, res),
onNoMatch: (req, res) => {
res.status(404).end("Page is not found");
},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/polissurvey.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { NextPage } from "next";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import { useEffect } from "react";
import { api } from "../utils/api";
import Link from "next/link";
import ProgressBar from "../components/ProgressBar";
Expand Down