Remove beta bar from layout plugin

Summary: I though I already did this, when releasing it. Apparently not.

Reviewed By: jknoxville

Differential Revision: D14854810

fbshipit-source-id: 4da61866925e06a415bfaed0f48e5434e769ec39
This commit is contained in:
Daniel Büchele
2019-04-10 10:30:00 -07:00
committed by Facebook Github Bot
parent efd9b37428
commit 1d3559c759

View File

@@ -19,10 +19,7 @@ import {
FlipperPlugin,
Toolbar,
Sidebar,
Link,
Glyph,
DetailSidebar,
styled,
} from 'flipper';
import Inspector from './Inspector';
import ToolbarIcon from './ToolbarIcon';
@@ -49,14 +46,6 @@ export type PersistedState = {|
AXelements: ElementMap,
|};
const BetaBar = styled(Toolbar)({
display: 'block',
overflow: 'hidden',
lineHeight: '15px',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
});
export default class Layout extends FlipperPlugin<State, void, PersistedState> {
static exportPersistedState = (
callClient: (string, ?Object) => Promise<Object>,
@@ -245,17 +234,6 @@ export default class Layout extends FlipperPlugin<State, void, PersistedState> {
</DetailSidebar>
</>
)}
{/* TODO: Remove this when rolling out publicly */}
<BetaBar position="bottom" compact>
<Glyph name="beta" color="#8157C7" />
&nbsp;
<strong>Version 2.0:</strong>&nbsp; Provide feedback about this plugin
in our&nbsp;
<Link href="https://fb.workplace.com/groups/246035322947653/">
feedback group
</Link>
.
</BetaBar>
</FlexColumn>
);
}