Skip to content

Conversation

@dlymonk
Copy link
Contributor

@dlymonk dlymonk commented Jan 9, 2024

No description provided.

@dlymonk dlymonk force-pushed the refacto/MN-427 branch 2 times, most recently from 2f95a90 to bac8ff5 Compare January 11, 2024 13:05

const { t } = useTranslation();
const { bgColor } = usePhotoHUDButtonBackground();
const addDamagePreviewMode = AddDamagePreviewMode.DEFAULT;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's for this component: <DamageCounter addDamagePreviewMode={addDamagePreviewMode} />
I wanted to make it more lisible, but actually it's useless
Instead, I can pass it directly as a props: addDamagePreviewMode={AddDamagePreviewMode.DEFAULT}

@dlymonk dlymonk merged commit 91d714d into refacto/main Jan 16, 2024
@dlymonk dlymonk deleted the refacto/MN-427 branch January 16, 2024 10:37
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.

4 participants