Skip to content

Commit 4e1868a

Browse files
fix test
1 parent e4ecc8c commit 4e1868a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/datastore/src/dataStoreRuntime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export class FluidDataStoreRuntime
453453
* Implementation of IFluidDataStoreRuntimeAlpha.inStagingMode
454454
*/
455455
private get inStagingMode(): IFluidDataStoreRuntimeAlpha["inStagingMode"] {
456-
return asLegacyAlpha(this.dataStoreContext.containerRuntime).inStagingMode;
456+
return asLegacyAlpha(this.dataStoreContext.containerRuntime)?.inStagingMode;
457457
}
458458

459459
/**

0 commit comments

Comments
 (0)