diff --git a/docs/common-patterns/layout-mode.md b/docs/common-patterns/layout-mode.md index 7a42c77e..0dfa8d12 100644 --- a/docs/common-patterns/layout-mode.md +++ b/docs/common-patterns/layout-mode.md @@ -1,6 +1,6 @@ # Application Layout Mode -There are three layout modes that an application can be in: focused, picture-in-picture (PIP), or grid mode. Activities can subscribe to the layout mode to determine when to optionally change their layouts to optimize for each layout mode. Discord clients support both `ACTIVITY_PIP_MODE_UPDATE` and `ACTIVITY_LAYOUT_MODE_UPDATE`. Here's an example using React: +There are three layout modes that an application can be in: focused, picture-in-picture (PIP), or grid mode. Activities can subscribe to the layout mode to determine when to optionally change their layouts to optimize for each layout mode. Discord clients can subscribe to the `ACTIVITY_LAYOUT_MODE_UPDATE` event to update their UI accordingly. Here's an example using React: ```javascript import { EventPayloadData } from '@discord/embedded-app-sdk';