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,11 +1,8 @@
import { memo } from "react";
import equal from "react-fast-compare";
type Props = {
list: React.ReactNode[];
};
function RawControlMenu({ list }: Props) {
export function ControlMenu({ list }: Props) {
return (
<menu className="flex gap-2">
{list.map((control, i) => (
@@ -16,5 +13,3 @@ function RawControlMenu({ list }: Props) {
</menu>
);
}
export const ControlMenu = memo(RawControlMenu, equal);