Skip to content

Commit

Permalink
fix: remove unused inspector pane
Browse files Browse the repository at this point in the history
  • Loading branch information
thesophiaxu committed Apr 5, 2022
1 parent 788c021 commit 00618c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/unigraph-dev-explorer/src/Workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ const setTitleOnRenderTab = (model: Model) => {
} catch (e) {
return;
}
const titleStr = `${selName} and ${count - 4} other tabs - Unigraph`;
const titleStr = `${selName} and ${count - 3} other tabs - Unigraph`;
const titleStrZero = `${selName} - Unigraph`;
const finalTitle = count - 4 > 0 ? titleStr : titleStrZero;
const finalTitle = count - 3 > 0 ? titleStr : titleStrZero;
document.title = finalTitle;
window.unigraph.getState('global/activeTab').setValue(selId);
};
Expand Down Expand Up @@ -325,7 +325,7 @@ export function WorkSpace(this: any) {
},
],
},
{
/* {
type: 'border',
location: 'right',
id: 'border-right',
Expand All @@ -341,7 +341,7 @@ export function WorkSpace(this: any) {
component: '/pages/inspector',
},
],
},
}, */
],
layout: {
type: 'row',
Expand Down

0 comments on commit 00618c6

Please sign in to comment.