feat(editor): 💄 Make steps side bar scrollable
This commit is contained in:
@@ -91,11 +91,12 @@ export const StepsSideBar = () => {
|
|||||||
shadow="xl"
|
shadow="xl"
|
||||||
borderWidth="1px"
|
borderWidth="1px"
|
||||||
pt="2"
|
pt="2"
|
||||||
pb="4"
|
pb="10"
|
||||||
px="2"
|
px="2"
|
||||||
bgColor="gray.50"
|
bgColor="gray.50"
|
||||||
spacing={6}
|
spacing={6}
|
||||||
userSelect="none"
|
userSelect="none"
|
||||||
|
overflowY="scroll"
|
||||||
>
|
>
|
||||||
<Flex justifyContent="flex-end">
|
<Flex justifyContent="flex-end">
|
||||||
<Tooltip label={isLocked ? 'Unlock sidebar' : 'Lock sidebar'}>
|
<Tooltip label={isLocked ? 'Unlock sidebar' : 'Lock sidebar'}>
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ const executeWebhook = async (
|
|||||||
data: parseBody(error.response.body as string),
|
data: parseBody(error.response.body as string),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.error(error)
|
||||||
return {
|
return {
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
data: { message: `Error from Typebot server: ${error}` },
|
data: { message: `Error from Typebot server: ${error}` },
|
||||||
|
|||||||
Reference in New Issue
Block a user