diff --git a/packages/react-server/core/ClientController.js b/packages/react-server/core/ClientController.js index b885d4e6e..98f3b74c0 100644 --- a/packages/react-server/core/ClientController.js +++ b/packages/react-server/core/ClientController.js @@ -70,7 +70,7 @@ class ClientController extends EventEmitter { } this.context = buildContext(routes); - this.context.setDeviceType(dehydratedState.deviceType); + this.context.setDeviceType(dehydratedState.InitialContext.deviceType); ReactServerAgent.cache().rehydrate(dehydratedState.InitialContext['ReactServerAgent.cache']); this.mountNode = document.getElementById('content');