diff --git a/spec/__snapshots__/notificationSettings.spec.ts.snap b/spec/__snapshots__/notificationSettings.spec.ts.snap index 6ac2eac7..64889c66 100644 --- a/spec/__snapshots__/notificationSettings.spec.ts.snap +++ b/spec/__snapshots__/notificationSettings.spec.ts.snap @@ -48,10 +48,17 @@ exports[`Notification Settings should mount, unmount and render component should className="position-button-container" > - - ); } @@ -143,13 +164,16 @@ export default class NotificationSettings extends React.Component<{}, IState> { * @param content */ private renderPositionButton(id: startCorner, content: string): JSX.Element { - const style = this.state.position === id ? `position-button position-button-selected ${id}` : `position-button ${id}`; + const style = this.getPositionButtonStyle(id); return (