Fixes react dom warnings

This commit is contained in:
psychedelicious 2022-10-29 13:36:07 +11:00
parent 387f39407a
commit accb1779cb
3 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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>

View File

@ -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>