Skip to content

Commit da3d3c8

Browse files
authored
set pick message result regardless of the category of message (#15691)
1 parent 09dfd90 commit da3d3c8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

dotcom-rendering/src/components/SlotBodyEnd.island.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ export const SlotBodyEnd = ({
208208
};
209209
pickMessage(epicConfig, renderingTarget)
210210
.then((result) => {
211-
if (result.type === 'MessageSelected') {
212-
setPickMessageResult(result);
213-
}
211+
setPickMessageResult(result);
214212
})
215213
.catch((e) =>
216214
console.error(`SlotBodyEnd pickMessage - error: ${String(e)}`),

0 commit comments

Comments
 (0)