Skip to content

Conversation

@Kubosaka
Copy link
Collaborator

@Kubosaka Kubosaka commented Aug 4, 2023

resolve #99

概要

  • 予定作成ページのボタンを一度しか押せないようにした。59a5ed7
  • 予定追加ページのボタンを一度しか押せないようにした。e9d4e0c
  • 予定修正ページのボタンを一度しか押せないようにした。4fcc292

画面スクリーンショット等

  • URL
    スクリーンショット

テスト項目

  • 予定の作成、追加、修正ページでsubmitボタンを連打できないか確認する

備考

@vercel
Copy link

vercel bot commented Aug 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chosei-chan ✅ Ready (Inspect) Visit Preview Aug 4, 2023 6:57am
chosei-chan-rom4 ✅ Ready (Inspect) Visit Preview Aug 4, 2023 6:57am

@github-actions github-actions bot added the enhancement New feature or request label Aug 4, 2023
@Kubosaka Kubosaka self-assigned this Aug 15, 2023
Copy link
Collaborator

@imaimai17468 imaimai17468 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

微修正レビューしました

Comment on lines 42 to +45
const ScheduleValid = useMemo(() => {
return watchedSchedule?.length !== 0
}, [watchedSchedule])

const [isSubmitted, setIsSubmitted] = useState(false)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

せっかくreact-hook-formのisSubmittingがあるので、そっちを使おう

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix]作成ボタンを一度しか押せないようにする

3 participants