customGpts persist through localStorage

This commit is contained in:
Daniel Avila 2023-03-04 17:39:06 -05:00
parent 62bb6ea8f8
commit 9c3a78f96b
22 changed files with 405 additions and 220 deletions

View file

@ -0,0 +1,20 @@
import React from 'react';
// import { setModel, setDisabled } from '~/store/submitSlice';
// import { swr } from '~/utils/fetchers';
// import { setModels } from '~/store/modelSlice';
import ModelItem from './ModelItem';
export default function MenuItems({ models }) {
return (
<>
{models.map((modelItem, i) => (
<ModelItem
key={i}
// id={modelItem._id}
modelName={modelItem.name}
value={modelItem.value}
/>
))}
</>
);
}