1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

chore: conditionally access children

This commit is contained in:
Thomas Heartman 2024-11-27 08:12:11 +01:00
parent 88a44c03ba
commit b4ed341183
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -41,7 +41,7 @@ export const FlagExposure: FC<{
onUncomplete={refetchFeature}
/>
{feature.children.length > 0 ? (
{feature?.children?.length > 0 ? (
<FeatureArchiveNotAllowedDialog
features={feature.children}
project={project}