mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix: add eqeqeq lint rule (#5106)
This commit is contained in:
@@ -50,7 +50,7 @@ function migrateDatabase(data: YMap<unknown>) {
|
||||
update: (cell: { id: string; value: unknown }) => void
|
||||
) => {
|
||||
Object.values(cells).forEach(row => {
|
||||
if (row[id] != null) {
|
||||
if (row[id] !== null && row[id] !== undefined) {
|
||||
update(row[id]);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user