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

feat: migrate suggestions and currency components to vue 3 syntax #1159

Conversation

lauramargar
Copy link
Contributor

@lauramargar lauramargar requested a review from a team as a code owner April 25, 2023 07:03
Copy link
Contributor

@CachedaCodes CachedaCodes left a comment

Choose a reason for hiding this comment

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

gj!

Comment on lines 143 to 145
const shouldHighlightCurated = computed<boolean>(() => {
return props.highlightCurated && !!props.suggestion.isCurated;
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Simplify to

Suggested change
const shouldHighlightCurated = computed<boolean>(() => {
return props.highlightCurated && !!props.suggestion.isCurated;
});
const shouldHighlightCurated = computed<boolean>(
() => props.highlightCurated && !!props.suggestion.isCurated
)

}
},
setup(props) {
const root = ref<HTMLElement | null>(null);
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep consistency with the decided name of the other PR (either root or el here)

@diegopf diegopf merged commit 67beb82 into main May 4, 2023
@diegopf diegopf deleted the feature/EMP-529-migrate-suggestions-and-currency-folder-to-vue-3-syntax branch May 4, 2023 10:49
@lauramargar lauramargar restored the feature/EMP-529-migrate-suggestions-and-currency-folder-to-vue-3-syntax branch February 7, 2024 11:12
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.

3 participants