Sfoglia il codice sorgente

:wrench: Shorten default description

And fix React warning.
DricomDragon 6 mesi fa
parent
commit
f04fe20688
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      dev-front/src/mech/squad/Squad.tsx

+ 1 - 3
dev-front/src/mech/squad/Squad.tsx

@@ -62,9 +62,7 @@ function Squad({pickObservers} : {pickObservers: {[key: string] : MechObserver}}
             </div>
             <div className='squad-description'>
                 <label htmlFor='squad-description-field-id'>Squad description</label>
-                <textarea id='squad-description-field-id'>
-                    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
-                </textarea>
+                <textarea id='squad-description-field-id' defaultValue='A powerful squad.'/>
             </div>
         </article>
     )