diff --git a/packages/pl-fe/src/features/interaction-policies/index.tsx b/packages/pl-fe/src/features/interaction-policies/index.tsx index 61e5aced7..6034c8e4d 100644 --- a/packages/pl-fe/src/features/interaction-policies/index.tsx +++ b/packages/pl-fe/src/features/interaction-policies/index.tsx @@ -167,15 +167,6 @@ const InteractionPolicies = () => { }); }; - const renderPolicy = (visibility: 'public' | 'unlisted' | 'private') => ( - handleChange(visibility, ...props)} - disabled={isUpdating} - /> - ); - return (
@@ -199,7 +190,12 @@ const InteractionPolicies = () => { activeItem={visibility} /> - {renderPolicy(visibility)} + handleChange(visibility, ...props)} + disabled={isUpdating} + />