@@ -48,7 +48,7 @@ export const TorrentFields = ({
4848 groupSuggestions,
4949} ) => {
5050 const [ category , setCategory ] = useState (
51- values ?. type ?? slugify ( Object . keys ( categories ) [ 0 ] , { lower : true } )
51+ values ?. category ?? slugify ( Object . keys ( categories ) [ 0 ] , { lower : true } )
5252 ) ;
5353 const [ sources , setSources ] = useState ( [ ] ) ;
5454 const [ tags , setTags ] = useState ( values ?. tags ?. split ( "," ) ?? [ ] ) ;
@@ -340,9 +340,7 @@ const Upload = ({ token, userId }) => {
340340 </ Box >
341341 { ! ! SQ_EXTENSION_BLACKLIST . length && (
342342 < Infobox mb = { 5 } >
343- < Text mb = { 3 } >
344- { getLocaleString ( "uploadInfoBox1" ) }
345- </ Text >
343+ < Text mb = { 3 } > { getLocaleString ( "uploadInfoBox1" ) } </ Text >
346344 < Text
347345 fontFamily = "mono"
348346 display = "inline-block"
@@ -367,7 +365,9 @@ const Upload = ({ token, userId }) => {
367365 { torrentFile . name }
368366 </ Text >
369367 ) : isDragActive ? (
370- < Text color = "grey" > { getLocaleString ( "uploadDropFileHere" ) } </ Text >
368+ < Text color = "grey" >
369+ { getLocaleString ( "uploadDropFileHere" ) }
370+ </ Text >
371371 ) : (
372372 < Text color = "grey" >
373373 { getLocaleString ( "uploadDragDropClickSelect" ) }
@@ -465,7 +465,10 @@ const Upload = ({ token, userId }) => {
465465 </ Box >
466466 ) }
467467 { SQ_ALLOW_ANONYMOUS_UPLOAD && (
468- < Checkbox name = "anonymous" label = { getLocaleString ( "uploadAnonymousUpload" ) } />
468+ < Checkbox
469+ name = "anonymous"
470+ label = { getLocaleString ( "uploadAnonymousUpload" ) }
471+ />
469472 ) }
470473 < Button display = "block" ml = "auto" mt = { 5 } >
471474 { getLocaleString ( "uploadUpload" ) }
0 commit comments