From 651d7c3f1938d26a8206b47dab2fb052dea57403 Mon Sep 17 00:00:00 2001 From: 0xExp-po Date: Thu, 12 Sep 2024 21:26:27 +0900 Subject: [PATCH] chore: separate to read and write contract services --- dapp/src/components/Commit.astro | 2 +- dapp/src/components/GetCommit.astro | 2 +- dapp/src/components/ProjectInfo.astro | 2 +- dapp/src/components/RegisterProject.astro | 2 +- dapp/src/components/SetProject.astro | 2 +- dapp/src/service/ReadContractService.ts | 35 +++++++++++++++++++ ...jectService.ts => WriteContractService.ts} | 29 --------------- 7 files changed, 40 insertions(+), 34 deletions(-) create mode 100644 dapp/src/service/ReadContractService.ts rename dapp/src/service/{ProjectService.ts => WriteContractService.ts} (82%) diff --git a/dapp/src/components/Commit.astro b/dapp/src/components/Commit.astro index 555c3ea..f688780 100644 --- a/dapp/src/components/Commit.astro +++ b/dapp/src/components/Commit.astro @@ -42,7 +42,7 @@ import PrimaryButton from "./utils/PrimaryButton.astro";