Change localization
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useState } from "react";
|
||||
import ImageUpload from "../Input/ImageUpload";
|
||||
import ImageUploadWide from "../Input/ImageUploadWide";
|
||||
import ButtonSecondary from "../Input/ButtonSecondary";
|
||||
import ButtonPrimary from "../Input/ButtonPrimary";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
@@ -67,7 +67,8 @@ export default function EditRestaurantPhoto(props) {
|
||||
};
|
||||
return (
|
||||
<div className="editRestaurant-tab">
|
||||
<ImageUpload img={url} onUpload={(newUrl) => setUrl(newUrl)} />
|
||||
<h3>Zdjęcie lokalu</h3>
|
||||
<ImageUploadWide img={url} onUpload={(newUrl) => setUrl(newUrl)} />
|
||||
<div className="editRestaurant-bottom">
|
||||
<ButtonPrimary text="Anuluj" onClick={() => setUrl(imgUrl)} />
|
||||
<ButtonSecondary onClick={handleSave} text="Zapisz" />
|
||||
|
||||
Reference in New Issue
Block a user