mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2026-01-25 12:34:20 +00:00
chore: upgrade to react 19 beta and next 14 canary
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import { memo } from "react";
|
||||
import equal from "react-fast-compare";
|
||||
|
||||
type Props = {
|
||||
list: React.ReactNode[];
|
||||
};
|
||||
|
||||
function RawConfigurations({ list }: Props) {
|
||||
export function Configurations({ list }: Props) {
|
||||
return (
|
||||
<ul className="flex flex-col gap-1.5">
|
||||
{list.map((config, i) => (
|
||||
@@ -16,5 +13,3 @@ function RawConfigurations({ list }: Props) {
|
||||
</ul>
|
||||
);
|
||||
}
|
||||
|
||||
export const Configurations = memo(RawConfigurations, equal);
|
||||
|
||||
Reference in New Issue
Block a user