mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
refactor: migrate from Biome to oxlint/oxfmt, remove contact form
- Replace Biome with oxlint + oxfmt (OXC toolchain) for linting and formatting - Add .oxlintrc.json and .oxfmtrc.json configuration files - Update VS Code settings and devcontainer to use oxc-vscode extension - Remove contact form, Resend email integration, and related server action/schema - Remove unused UI components (accordion, alert, card, tabs, toggle, etc.)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
import { CountUp } from "@/components/count-up";
|
||||
|
||||
import { CountUp } from "@/components/count-up";
|
||||
import { incrementViews } from "@/lib/server/views";
|
||||
|
||||
const ViewCounter = ({ slug }: { slug: string }) => {
|
||||
@@ -15,8 +15,8 @@ const ViewCounter = ({ slug }: { slug: string }) => {
|
||||
.then((hits) => {
|
||||
setViews(hits);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("[view-counter] error:", error);
|
||||
.catch((err) => {
|
||||
console.error("[view-counter] error:", err);
|
||||
setError(true);
|
||||
});
|
||||
}, [slug]);
|
||||
|
||||
Reference in New Issue
Block a user