chore: upgrade to react 19 beta and next 14 canary

This commit is contained in:
2024-05-19 14:53:00 +02:00
parent fe429295ef
commit 63e0be09e6
65 changed files with 2626 additions and 1898 deletions

View File

@@ -1,6 +1,3 @@
import { memo } from "react";
import equal from "react-fast-compare";
type Props = {
icon: React.ReactNode;
title: string;
@@ -8,7 +5,7 @@ type Props = {
control: React.ReactNode;
};
function RawConfiguration({ icon, title, description, control }: Props) {
export function Configuration({ icon, title, description, control }: Props) {
return (
<div className="flex h-16 items-center gap-6 rounded border bg-configuration px-4">
{icon}
@@ -24,5 +21,3 @@ function RawConfiguration({ icon, title, description, control }: Props) {
</div>
);
}
export const Configuration = memo(RawConfiguration, equal);