Skip to content

Commit fddc37a

Browse files
authored
fix: UiKit Playground using wrong surface (RocketChat#37418)
1 parent 95eefa8 commit fddc37a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/uikit-playground/src/Components/Preview/Display/Surface

apps/uikit-playground/src/Components/Preview/Display/Surface/Surface.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const Surface: FC = () => {
9191
>
9292
<SurfaceRender type={screens[activeScreen]?.payload.surface}>
9393
<DraggableList
94-
surface={SurfaceOptions.Modal}
94+
surface={screens[activeScreen]?.payload.surface || SurfaceOptions.Message}
9595
blocks={uniqueBlocks.block || []}
9696
onDragEnd={onDragEnd}
9797
/>

0 commit comments

Comments
 (0)