mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Prettier
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
import React from "react";
|
||||
import { Button, Form } from 'react-bootstrap';
|
||||
import { Button, Form } from "react-bootstrap";
|
||||
|
||||
interface IImageInput {
|
||||
isEditing: boolean;
|
||||
onImageChange: (event: React.FormEvent<HTMLInputElement>) => void;
|
||||
}
|
||||
|
||||
export const ImageInput: React.FC<IImageInput> = ({ isEditing, onImageChange }) => {
|
||||
export const ImageInput: React.FC<IImageInput> = ({
|
||||
isEditing,
|
||||
onImageChange
|
||||
}) => {
|
||||
if (!isEditing) return <div />;
|
||||
|
||||
return (
|
||||
@@ -19,5 +22,4 @@ export const ImageInput: React.FC<IImageInput> = ({ isEditing, onImageChange })
|
||||
/>
|
||||
</Form.Label>
|
||||
);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user