Modificaciones

This commit is contained in:
santiago
2025-10-02 16:11:31 -06:00
parent 3123c9911a
commit 4ff66e81c7
@@ -1,7 +1,7 @@
"use client";
import React, { useState } from "react";
import { Button } from "react-bootstrap";
import { Button, Image } from "react-bootstrap";
import { FaUpload } from "react-icons/fa";
import axiosInstance from "@/utils/api-config";
@@ -107,7 +107,7 @@ export default function BannerUpload() {
className="border rounded overflow-hidden shadow-sm"
style={{ width: "350px", height: "350px" }}
>
<img
<Image
src={URL.createObjectURL(file)}
alt={file.name}
className="img-fluid h-75 w-100 object-fit-cover"