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