🐛 Fix misc bugs
This commit is contained in:
@@ -47,7 +47,7 @@ export const AnalyticsGraphContainer = ({ stats }: { stats?: Stats }) => {
|
||||
typebot={publishedTypebot}
|
||||
onUnlockProPlanClick={onOpen}
|
||||
answersCounts={
|
||||
answersCounts
|
||||
answersCounts[0]
|
||||
? [
|
||||
{ ...answersCounts[0], totalAnswers: stats?.totalStarts },
|
||||
...answersCounts.slice(1),
|
||||
|
||||
@@ -32,7 +32,7 @@ export const DropOffEdge = ({
|
||||
}: Props) => {
|
||||
const dropOffColor = useColorModeValue(
|
||||
theme.colors.red[500],
|
||||
theme.colors.red[300]
|
||||
theme.colors.red[400]
|
||||
)
|
||||
const { workspace } = useWorkspace()
|
||||
const { groupsCoordinates } = useGroupsCoordinates()
|
||||
|
||||
@@ -44,9 +44,7 @@ export const ResultModal = ({ resultIdx, onClose }: Props) => {
|
||||
{getHeaderValue(result[header.label])}
|
||||
</Text>
|
||||
</Stack>
|
||||
) : (
|
||||
<></>
|
||||
)
|
||||
) : null
|
||||
)}
|
||||
</ModalBody>
|
||||
</ModalContent>
|
||||
|
||||
Reference in New Issue
Block a user