You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Chore: Implement cSpell to detect spelling mistakes in codebase (#10001)
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx> Co-authored-by: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com>
This commit is contained in:
@@ -202,7 +202,7 @@ export const MAX_HISTORY = 200;
|
||||
const derivedStateCache_: any = {};
|
||||
|
||||
// Allows, for a given state, to return the same derived
|
||||
// objects, to prevent unecessary updates on calling components.
|
||||
// objects, to prevent unnecessary updates on calling components.
|
||||
const cacheEnabledOutput = (key: string, output: any) => {
|
||||
key = `${key}_${JSON.stringify(output)}`;
|
||||
if (derivedStateCache_[key]) return derivedStateCache_[key];
|
||||
|
||||
Reference in New Issue
Block a user