Skip to content

Commit

Permalink
fix: register bug (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po authored Dec 16, 2024
1 parent e44360c commit 92a5aa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dapp/src/components/page/register/RegisterProject.astro
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ import ModalInput from "../../utils/ModalInput.astro";

<script>
import {
getProject,
getProjectFromName,
getProjectHash,
} from "@service/ReadContractService";
Expand Down Expand Up @@ -265,7 +264,7 @@ import ModalInput from "../../utils/ModalInput.astro";
if (res.error) {
alert(res.errorMessage);
} else {
const res = await getProject();
const res = await getProjectFromName(project_name.value);
const project = res.data;
if (
project &&
Expand Down

0 comments on commit 92a5aa5

Please sign in to comment.