Explorar o código

:wrench: Shorten default description

And fix React warning.
DricomDragon hai 6 meses
pai
achega
f04fe20688
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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>
     )