mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
fix: add eqeqeq lint rule (#5106)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -194,7 +194,8 @@ export const WorkspaceLayoutInner = ({
|
||||
const blockVersions = meta.get('blockVersions');
|
||||
if (
|
||||
!(blockVersions instanceof YMap) &&
|
||||
blockVersions != null &&
|
||||
blockVersions !== null &&
|
||||
blockVersions !== undefined &&
|
||||
typeof blockVersions === 'object'
|
||||
) {
|
||||
meta.set(
|
||||
|
||||
Reference in New Issue
Block a user