Skip to content

Commit

Permalink
fix(bot_edit): fix bug of get the right repo_name (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-liuzhide authored Nov 19, 2024
2 parents fb16ad5 + 39a3bd4 commit a8ad640
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/app/factory/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default function Edit() {
const { language } = useGlobal();

const { botProfile, setBotProfile } = useBot();
console.log('botProfile', botProfile);
const { user, status } = useUser();
const router = useRouter();
const searchParams = useSearchParams();
Expand Down Expand Up @@ -101,7 +100,7 @@ export default function Edit() {
draft.description = data.description;
draft.starters = data.starters;
draft.public = data.public;
draft.repoName = data.repoName;
draft.repoName = data.repo_name;
draft.helloMessage = data.hello_message;
});
}
Expand Down

0 comments on commit a8ad640

Please sign in to comment.