Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

今日に移動ボタンを追加 #271

Merged
merged 1 commit into from Dec 30, 2022
Merged

今日に移動ボタンを追加 #271

merged 1 commit into from Dec 30, 2022

Conversation

wheatandcat
Copy link
Owner

@wheatandcat wheatandcat commented Dec 30, 2022

関連 issue

対応内容

  • 今日 に移動するボタンを追加

開発用メモ

無し

@@ -100,7 +103,9 @@ const DateInput: React.FC<Props> = (props) => {
if (prevDate && prevDate !== props.date) {
setState((s) => ({ ...s, date: props.date }));
} else {
props.onChange(state.date);
if (props.date !== state.date) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

無駄にレンダリングしていたのでif文を追加

@wheatandcat wheatandcat added this to the v1.7.0 milestone Dec 30, 2022
@wheatandcat wheatandcat self-assigned this Dec 30, 2022
@wheatandcat wheatandcat marked this pull request as ready for review December 30, 2022 06:55
@wheatandcat wheatandcat merged commit ab658b3 into main Dec 30, 2022
@wheatandcat wheatandcat deleted the 270 branch December 30, 2022 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

今日に移動ボタンを追加
1 participant