mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes react dom warnings
This commit is contained in:
parent
387f39407a
commit
accb1779cb
@ -24,12 +24,14 @@
|
||||
.image-upload-child {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
row-gap: 2rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
|
||||
svg {
|
||||
width: 4rem !important;
|
||||
height: 4rem !important;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.2rem !important;
|
||||
|
@ -49,7 +49,7 @@ export default function InvokeImageUploader(props: InvokeImageUploaderProps) {
|
||||
}
|
||||
>
|
||||
<div className="image-upload-child">
|
||||
<FaUpload size={'7rem'} />
|
||||
<FaUpload />
|
||||
<Heading size={'lg'}>Upload or Drop Image Here</Heading>
|
||||
</div>
|
||||
</ImageUploader>
|
||||
|
@ -229,7 +229,7 @@ export default function HotkeysModal({ children }: HotkeysModalProps) {
|
||||
|
||||
<h1>Keyboard Shorcuts</h1>
|
||||
<div className="hotkeys-modal-items">
|
||||
<Accordion allowToggle allowMultiple>
|
||||
<Accordion allowMultiple>
|
||||
<AccordionItem>
|
||||
<AccordionButton className="hotkeys-modal-button">
|
||||
<h2>App Hotkeys</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user