Remove sidebar title
Summary: ^ Reviewed By: antonk52 Differential Revision: D47868788 fbshipit-source-id: 0e8c4a224140d9c8f1ff91ce282112919ad650bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b1b056485c
commit
2c310690d1
@@ -141,17 +141,10 @@ const Placeholder = styled(Layout.Container)({
|
||||
});
|
||||
|
||||
function Sidebar({selection}: {selection: undefined | ConnectionRecordEntry}) {
|
||||
const renderExtra = (extra: any) => (
|
||||
<>
|
||||
<p>Details</p>
|
||||
<DataInspector data={extra} expandRoot />
|
||||
</>
|
||||
);
|
||||
|
||||
return (
|
||||
<Layout.ScrollContainer pad>
|
||||
{selection != null ? (
|
||||
renderExtra(selection)
|
||||
<DataInspector data={selection} expandRoot />
|
||||
) : (
|
||||
<Placeholder grow pad="large">
|
||||
Select an entry to visualize details
|
||||
|
||||
Reference in New Issue
Block a user