Modificaciones
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user