mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 23:51:15 +00:00
fix
This commit is contained in:
@@ -449,7 +449,7 @@ export default function EditResourcePage() {
|
|||||||
className={"btn h-9"}
|
className={"btn h-9"}
|
||||||
type={"button"}
|
type={"button"}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setCharacters([...characters, { name: "", alias: [], cv: "", image: 0 }]);
|
setCharacters([...characters, { name: "", alias: [], cv: "", image: 0, role: "primary" }]);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<MdAdd />
|
<MdAdd />
|
||||||
|
|||||||
@@ -456,7 +456,7 @@ export default function PublishPage() {
|
|||||||
className={"btn my-2"}
|
className={"btn my-2"}
|
||||||
type={"button"}
|
type={"button"}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setCharacters([...characters, { name: "", alias: [], cv: "", image: 0 }]);
|
setCharacters([...characters, { name: "", alias: [], cv: "", image: 0, role: "primary"}]);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<MdAdd />
|
<MdAdd />
|
||||||
|
|||||||
Reference in New Issue
Block a user