upgrade Nodemailer to v10

fix dead code with knip

upgrade TS to v6 and fix linting errors

auto apply oxfmt rules

fix linting errors - unused deps etc

ignore file

remove all ignored files in knip

add knip - dead code analysis tool

swap prettier and eslint of oxfmt and oxlint

fix: fix map rendering in react strict mode

fix: headlessUI float replace

fix: disable Matomo if not URL and SITE ID exist

upgrade: 1st pass upgrade to Next.js v16

deps: upgrade react to v19
This commit is contained in:
2026-09-29 22:16:07 +02:00
parent df3a73df88
commit da78e82a44
122 changed files with 39491 additions and 32785 deletions
+3 -12
View File
@@ -22,10 +22,7 @@ type RegionSelectProps = Omit<
type RegionOption = BaseOption<string, Zone | null>;
type GroupedOption = GroupBase<RegionOption>;
export const RegionSelect = ({
syncTitle,
...selectProps
}: RegionSelectProps) => {
export const RegionSelect = ({ syncTitle, ...selectProps }: RegionSelectProps) => {
const t = useTranslations("Zones");
const router = useRouter();
const [regionFilter, setRegionFilter] = useAtom(regionFilterAtom);
@@ -67,9 +64,7 @@ export const RegionSelect = ({
},
];
const onChange = (
option: OnChangeValue<BaseOption<string, Zone | null>, false>,
) => {
const onChange = (option: OnChangeValue<BaseOption<string, Zone | null>, false>) => {
if (!option) return;
if (option.value === "create") {
@@ -114,11 +109,7 @@ export const RegionSelect = ({
);
const getValue = () => {
if (
regionFilter === "all" ||
regionFilter === "map" ||
regionFilter === "region"
) {
if (regionFilter === "all" || regionFilter === "map" || regionFilter === "region") {
return allOptions.find((o) => o.value === regionFilter);
}