web: Add style CI workflow to enforce eslint checks on web module (#1910)

This commit is contained in:
Bowen Liang 2024-01-04 15:37:51 +08:00 • committed by GitHub
commit a798dcfae9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 141 additions and 102 deletions

View file

@ -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