a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix type errors

+1 -2
-1
components/Blocks/TextBlock/index.tsx
··· 268 268 if (!existingState) return s; 269 269 let newState = existingState.editor.apply(tr); 270 270 let addToHistory = tr.getMeta("addToHistory"); 271 - if (addToHistory !== false) { 272 271 let docHasChanges = !tr.steps.length || tr.docChanged; 273 272 if (addToHistory !== false && docHasChanges) { 274 273 if (actionTimeout.current) {
+1 -1
src/replicache/index.tsx
··· 100 100 Object.keys(mutations).map((m) => { 101 101 return [ 102 102 m, 103 - async (tx: WriteTransaction, args: any, ...rest) => { 103 + async (tx: WriteTransaction, args: any) => { 104 104 await mutations[m as keyof typeof mutations]( 105 105 args, 106 106 clientMutationContext(tx, {