Skip to content

Commit

Permalink
fix: pipe tableIds through syncToRecs
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaaa committed Sep 27, 2023
1 parent 03f549a commit 1972891
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/store-sync/src/recs/syncToRecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function syncToRecs<TConfig extends StoreConfig = StoreConfig>({
initialState,
indexerUrl,
startSync = true,
tableIds,
matchId,
}: SyncToRecsOptions<TConfig>): Promise<SyncToRecsResult<TConfig>> {
const { storageAdapter, components } = recsStorage({ world, config });
Expand All @@ -40,6 +41,7 @@ export async function syncToRecs<TConfig extends StoreConfig = StoreConfig>({
maxBlockRange,
indexerUrl,
initialState,
tableIds,
matchId,
onProgress: ({ step, percentage, latestBlockNumber, lastBlockNumberProcessed, message }) => {
if (getComponentValue(components.SyncProgress, singletonEntity)?.step !== SyncStep.LIVE) {
Expand Down

0 comments on commit 1972891

Please sign in to comment.