Skip to content

Commit

Permalink
Fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Oct 28, 2024
1 parent c8349b1 commit 27445a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions app/stats/[slug]/csv/route.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { usePapaParse } from "react-papaparse";
import { jsonToCSV } from "react-papaparse";

import { getAllMetricSamples, type MetricSample } from "~/src/data/metrics";
import { ContentType } from "~/src/utils";
Expand All @@ -12,8 +12,6 @@ type Props = {
export async function GET(_: Request, { params }: Props): Promise<Response> {
const { slug } = params;

const { jsonToCSV } = usePapaParse();

const compareSamplesByDate = (a: MetricSample, b: MetricSample) =>
new Date(a.date).getTime() - new Date(b.date).getTime();

Expand Down
2 changes: 0 additions & 2 deletions components/profile/OccupationSelect.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { RequiredFieldMarker } from "~/components/form/RequiredFieldMarker";

export type Props = {
occupation?: string;
disabled?: boolean;
Expand Down

0 comments on commit 27445a9

Please sign in to comment.