瀏覽代碼

:wrench: Shorten default description

And fix React warning.
DricomDragon 6 月之前
父節點
當前提交
f04fe20688
共有 1 個文件被更改,包括 1 次插入3 次删除
  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>
     )