Skip to content

Commit

Permalink
Easy lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTamaki committed Oct 31, 2023
1 parent 87ac2ea commit 0a916bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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

0 comments on commit 0a916bd

Please sign in to comment.