web: Add style CI workflow to enforce eslint checks on web module (#1910)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import classNames from 'classnames'
|
||||
import s from './index.module.css'
|
||||
import useSWR from 'swr'
|
||||
import Link from 'next/link'
|
||||
import s from './index.module.css'
|
||||
import { fetchAccountIntegrates } from '@/service/common'
|
||||
|
||||
const titleClassName = `
|
||||
@@ -42,7 +42,7 @@ export default function IntegrationsPage() {
|
||||
</div>
|
||||
{
|
||||
!integrate.is_bound && (
|
||||
<Link
|
||||
<Link
|
||||
className='flex items-center h-8 px-[7px] bg-white rounded-lg border border-gray-200 text-xs font-medium text-gray-700 cursor-pointer'
|
||||
href={integrate.link}
|
||||
target={'_blank'}>
|
||||
|
||||
@@ -99,7 +99,7 @@ const Operation = ({
|
||||
<div className="px-1 py-1">
|
||||
{
|
||||
['admin', 'normal'].map(role => (
|
||||
<Menu.Item>
|
||||
<Menu.Item key={role}>
|
||||
<div className={itemClassName} onClick={() => handleUpdateMemberRole(role)}>
|
||||
{
|
||||
role === member.role
|
||||
|
||||
@@ -6,7 +6,6 @@ import { useTranslation } from 'react-i18next'
|
||||
import { ArrowLeftIcon, Squares2X2Icon } from '@heroicons/react/24/solid'
|
||||
import type { AppDetailResponse } from '@/models/app'
|
||||
|
||||
|
||||
type IAppBackProps = {
|
||||
curApp: AppDetailResponse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user