Skip to content

Commit 81fe510

Browse files
SaraVieiraCompuIves
authored andcommitted
remove beta notices from git and netlify (codesandbox#3202)
1 parent bbf9557 commit 81fe510

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

packages/app/src/app/components/DeploymentIntegration/DeploymentIntegration.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
import React from 'react';
22
import { DetailInfo } from './DetailInfo';
3-
import {
4-
Container,
5-
Down,
6-
IntegrationBlock,
7-
Name,
8-
Notice,
9-
Up,
10-
} from './elements';
3+
import { Container, Down, IntegrationBlock, Name, Up } from './elements';
114

125
interface IDeploymentIntegrationProps {
136
light?: boolean;
147
loading?: boolean;
158
bgColor: string;
169
Icon: React.ComponentType;
1710
name: string;
18-
beta?: boolean;
1911
open: boolean;
2012
onToggle: (event: React.MouseEvent<HTMLDivElement>) => void;
2113
onDeploy: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -27,7 +19,6 @@ export const DeploymentIntegration: React.FC<IDeploymentIntegrationProps> = ({
2719
bgColor,
2820
Icon,
2921
name,
30-
beta = false,
3122
open = true,
3223
onToggle,
3324
onDeploy,
@@ -39,8 +30,6 @@ export const DeploymentIntegration: React.FC<IDeploymentIntegrationProps> = ({
3930
<Icon />
4031

4132
<Name light={light}>{name}</Name>
42-
43-
{beta && <Notice>Beta</Notice>}
4433
</div>
4534

4635
{open ? <Up light={light} /> : <Down light={light} />}

packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify/DeployButton/DeployButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export const DeployButton: FunctionComponent<Props> = ({ isOpen, toggle }) => {
2424
return (
2525
<DeployButtonContainer>
2626
<DeploymentIntegration
27-
beta
2827
bgColor="#FFFFFF"
2928
onDeploy={() => {
3029
track('Deploy Clicked', { provider: 'netlify' });

packages/app/src/app/pages/Sandbox/Editor/Workspace/items/GitHub/Git/Git.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import Margin from '@codesandbox/common/lib/components/spacing/Margin';
22
import { Button } from '@codesandbox/common/lib/components/Button';
33
import GithubBadge from '@codesandbox/common/lib/components/GithubBadge';
44
import Input, { TextArea } from '@codesandbox/common/lib/components/Input';
5-
import Notice from '@codesandbox/common/lib/components/Notice';
65
import { githubRepoUrl } from '@codesandbox/common/lib/utils/url-generator';
76
import React, { ChangeEvent, FunctionComponent, useEffect } from 'react';
87

@@ -58,8 +57,6 @@ export const Git: FunctionComponent = () => {
5857

5958
return (
6059
<Container>
61-
<Notice>beta</Notice>
62-
6360
<WorkspaceSubtitle>GitHub Repository</WorkspaceSubtitle>
6461

6562
<Margin margin={1}>

0 commit comments

Comments
 (0)