mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
chore(console): temporarily bypass new lint rules
This commit is contained in:
parent
21bb2dd144
commit
8c2faa1099
3 changed files with 6 additions and 0 deletions
|
@ -60,6 +60,8 @@ const LanguagesForm = ({ isManageLanguageVisible = false }: Props) => {
|
|||
/>
|
||||
</FormField>
|
||||
{isManageLanguageVisible && (
|
||||
// TODO: @yijun
|
||||
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
||||
<div
|
||||
className={classNames(textButtonStyles.button, styles.manageLanguage)}
|
||||
onClick={() => {
|
||||
|
|
|
@ -81,6 +81,8 @@ const AddLanguageSelector = ({ options, onSelect }: Props) => {
|
|||
{isDropDownOpen && filteredOptions.length > 0 && (
|
||||
<ul className={style.dropDown}>
|
||||
{filteredOptions.map((languageTag) => (
|
||||
// TODO: @yijun
|
||||
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
|
||||
<li
|
||||
key={languageTag}
|
||||
className={style.dropDownItem}
|
||||
|
|
|
@ -20,6 +20,8 @@ const LanguageItem = ({ languageTag, isSelected, onClick }: Props) => {
|
|||
}, [isSelected]);
|
||||
|
||||
return (
|
||||
// TODO: @yijun
|
||||
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
||||
<div
|
||||
ref={itemRef}
|
||||
className={classNames(style.languageItem, isSelected && style.selected)}
|
||||
|
|
Loading…
Reference in a new issue