mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 01:49:51 +08:00
fix: add eqeqeq lint rule (#5106)
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ export const PlanCard = (props: PlanCardProps) => {
|
||||
{detail.benefits.map((content, i) => (
|
||||
<div key={i} className={styles.planBenefit}>
|
||||
<div className={styles.planBenefitIcon}>
|
||||
{detail.type == 'dynamic' ? (
|
||||
{detail.type === 'dynamic' ? (
|
||||
<BulledListIcon color="var(--affine-processing-color)" />
|
||||
) : (
|
||||
<DoneIcon
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@ const CollectionRenderer = ({
|
||||
async (id: string) => {
|
||||
await setting.updateCollection({
|
||||
...collection,
|
||||
allowList: collection.allowList?.filter(v => v != id),
|
||||
allowList: collection.allowList?.filter(v => v !== id),
|
||||
});
|
||||
},
|
||||
[collection, setting]
|
||||
|
||||
Reference in New Issue
Block a user