Update usehooks-ts, @headlessui/react, fix minor linting

This commit is contained in:
2024-12-18 14:52:24 -06:00
parent c9b240c6b4
commit a18e1ed4be
5 changed files with 135 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ const v2_redirects = [
return {
source: url,
destination: `https://undefined.behavio.rs/posts${url.slice(
nthIndex(url, "/", 4),
nthIndex(url, "/", 4)
)}`,
permanent: false,
};
@@ -50,10 +50,6 @@ const v2_redirects = [
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
i18n: {
locales: ["en"],
defaultLocale: "en",
},
async redirects() {
// Source cannot end with / slash
return [