Skip to content

Commit

Permalink
🎨 chore: Appease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joebobmiles committed Jul 13, 2021
1 parent 68e7d83 commit bf7834b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
StoreApi,
} from "zustand/vanilla";
import * as Y from "yjs";
import { patchSharedType, patchStore, } from "./patching";
import { patchSharedType, } from "./patching";

/**
* This function is the middleware the sets up the Zustand store to mirror state
Expand Down Expand Up @@ -60,7 +60,7 @@ export const yjs = <S extends State>(
*/
map.observeDeep(() =>
{
patchStore(api, map.toJSON());
// TODO
});

// Return the initial state to create or the next middleware.
Expand Down

0 comments on commit bf7834b

Please sign in to comment.