Implement code changes to enhance functionality and improve performance #16
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
@@ -15,12 +15,10 @@ export default function Page() {
|
||||
<div>
|
||||
<div className="mx-auto mb-5 mt-3 fade-in-down-bounce">
|
||||
<ClientCarousel
|
||||
images={data?.map((item) => ({
|
||||
src: item.banner
|
||||
? `${process.env.NEXT_PUBLIC_API_URL}/banners/${item.banner}`
|
||||
: '/default-banner.jpg',
|
||||
alt: item.nombre_evento,
|
||||
}))}
|
||||
images={[{
|
||||
src: '/banner.jpeg',
|
||||
alt: 'Banner de eventos activos',
|
||||
}]}
|
||||
/>
|
||||
</div>
|
||||
{loading && <div>Cargando...</div>}
|
||||
|
||||
@@ -109,7 +109,7 @@ export default function EditFormulario({
|
||||
const texto = value || '';
|
||||
if (texto.length <= 500) {
|
||||
handleChange(
|
||||
'descripcion_evento' as keyof GetCuestionario,
|
||||
'descripcion' as keyof GetCuestionario,
|
||||
texto
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user