Merge branch 'hotfix/linted' into feature/rating
This commit is contained in:
commit
9a475b8d0c
|
@ -45,7 +45,6 @@ export const AuthorBadge = (props: Props) => {
|
|||
setIsMobileView(!mediaMatches.sm)
|
||||
})
|
||||
|
||||
// const { setFollowing } = useFollowing()
|
||||
const { changeSearchParams } = useRouter()
|
||||
const { t, formatDate, lang } = useLocalize()
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ const embedData = (data) => {
|
|||
|
||||
const result: { src: string; width?: string; height?: string } = { src: '' }
|
||||
|
||||
// biome-ignore lint/style/useForOf: <explanation>
|
||||
for (let i = 0; i < attributes.length; i++) {
|
||||
const attribute = attributes.item(i)
|
||||
if (attribute) {
|
||||
|
|
|
@ -56,7 +56,7 @@ export const HeaderAuth = (props: Props) => {
|
|||
const handleBurgerButtonClick = () => {
|
||||
toggleEditorPanel()
|
||||
}
|
||||
|
||||
// FIXME: use handler
|
||||
const _handleSaveClick = () => {
|
||||
const hasTopics = form.selectedTopics?.length > 0
|
||||
if (hasTopics) {
|
||||
|
@ -254,7 +254,12 @@ export const HeaderAuth = (props: Props) => {
|
|||
}
|
||||
>
|
||||
<Show when={!isSaveButtonVisible()}>
|
||||
<div class={clsx(styles.userControlItem, styles.userControlItemInbox)}>
|
||||
<div
|
||||
class={clsx(
|
||||
styles.userControlItem,
|
||||
// styles.userControlItemInbox
|
||||
)}
|
||||
>
|
||||
<a href={getPagePath(router, 'inbox')}>
|
||||
<div classList={{ entered: page().path === '/inbox' }}>
|
||||
<Icon name="inbox-white" class={styles.icon} />
|
||||
|
|
|
@ -42,7 +42,8 @@ export const AllAuthors = (props: Props) => {
|
|||
const filteredAuthors = createMemo(() => {
|
||||
const query = searchQuery().toLowerCase()
|
||||
return sortedAuthors().filter((author) => {
|
||||
return author.name.toLowerCase().includes(query) // Предполагаем, что у автора есть свойство name
|
||||
// Предполагаем, что у автора есть свойство name
|
||||
return author.name.toLowerCase().includes(query)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user