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

comment controls are not displayed in profile/search #389

Merged
merged 3 commits into from
Aug 23, 2024
Merged

Conversation

4vanger
Copy link
Collaborator

@4vanger 4vanger commented Aug 23, 2024

hotfix for now - will refactor&reformat code tomorrow

@4vanger 4vanger requested a review from Aivean August 23, 2024 06:55
@@ -34,7 +34,7 @@ export function useInterpreter(contentRef: React.RefObject<HTMLDivElement>, orig

const calcShowAltTranslate = () =>
// content.length is used intentionally, we don't want to use it on the long content
originalContent.length < ALT_TRANSLATE_LIMIT && calcStrippedOriginalContentLength() >= 6;
originalContent && originalContent.length < ALT_TRANSLATE_LIMIT && calcStrippedOriginalContentLength() >= 6;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

это попутно ещё один баг в поиске нашёлся

@Aivean Aivean merged commit 38bbdb4 into dev Aug 23, 2024
4 checks passed
@4vanger 4vanger deleted the ak/fix-expand-cut branch August 23, 2024 07:02
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.

2 participants