fix(mod): field duplication and focus issue #81

Merged
enes merged 1 commits from 64-submit-edit-mod-page into staging 2024-10-18 09:04:39 +00:00

View File

@ -419,7 +419,7 @@ export const ModForm = ({ existingModData }: ModFormProps) => {
We recommend to upload images to https://nostr.build/
</p>
{formState.screenshotsUrls.map((url, index) => (
<Fragment key={`screenShot-${url}`}>
<Fragment key={`screenShot-${index}`}>
<ScreenshotUrlFields
index={index}
url={url}
@ -468,12 +468,12 @@ export const ModForm = ({ existingModData }: ModFormProps) => {
</div>
<p className='labelDescriptionMain'>
You can upload your game mod to Github, as an example, and keep
updating it there (another option is catbox.moe). Also, it's advisable that you hash your package as
well with your nostr public key.
updating it there (another option is catbox.moe). Also, it's advisable
that you hash your package as well with your nostr public key.
</p>
{formState.downloadUrls.map((download, index) => (
<Fragment key={`download-${download.url}`}>
<Fragment key={`download-${index}`}>
<DownloadUrlFields
index={index}
url={download.url}