UI: Remove dummy text from manage tab (#4416)

This commit is contained in:
Sachin Chaurasiya 2022-04-23 23:49:56 +05:30 committed by GitHub
parent d98d0a7123
commit d7b0a11fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 9 deletions

View File

@ -49,7 +49,6 @@ const ManageTab: FunctionComponent<ManageProps> = ({
allowSoftDelete,
isRecursiveDelete,
deletEntityMessage,
manageSectionType,
handleIsJoinable,
}: ManageProps) => {
const { userPermissions, isAdminUser } = useAuth();
@ -302,9 +301,6 @@ const ManageTab: FunctionComponent<ManageProps> = ({
className="tw-max-w-3xl tw-mx-auto"
data-testid="manage-tab"
id="manageTabDetails">
<p className="tw-text-base tw-font-medium tw-mt-2">
Manage {manageSectionType ? manageSectionType : 'Section'}
</p>
<div
className={classNames('tw-mt-2 tw-pb-4', {
'tw-mb-3': !hideTier,

View File

@ -136,7 +136,6 @@ const DeleteWidget = ({
return (
<Fragment>
<p className="tw-text-base tw-font-medium">Delete section</p>
<div className="tw-mt-1 tw-bg-white" data-testid="danger-zone">
<div className="tw-border tw-border-error tw-rounded tw-mt-3 tw-shadow">
{allowSoftDelete && (

View File

@ -97,8 +97,8 @@ const OwnerWidget = ({
<div className="tw-w-10/12">
<p className="tw-text-sm tw-mb-1 tw-font-medium">Owner</p>
<p className="tw-text-grey-muted tw-text-xs">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Necessitatibus, sint.
The Team owner details are found here. Team ownership can be
changed
</p>
</div>
@ -163,8 +163,8 @@ const OwnerWidget = ({
Open to join
</p>
<p className="tw-text-grey-muted tw-text-xs">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Necessitatibus, sint.
Turn on toggle to allow any user to join the team. To restrict
access, keep the toggle off
</p>
</div>
<div className="tw-flex tw-items-center">