If sidebar menu item links to internal page, no longer open in new tab

This commit is contained in:
Fabio Berger
2018-10-12 15:59:23 +02:00
parent 16386bc99e
commit a86ca6257f

View File

@@ -15,7 +15,6 @@ const TUTORIALS: TutorialInfo[] = [
link: {
title: Key.DevelopOnEthereum,
to: `${WebsitePaths.Wiki}#Ethereum-Development`,
shouldOpenInNewTab: true,
},
},
{
@@ -24,7 +23,6 @@ const TUTORIALS: TutorialInfo[] = [
link: {
title: Key.BuildARelayer,
to: `${WebsitePaths.Wiki}#Build-A-Relayer`,
shouldOpenInNewTab: true,
},
},
{
@@ -33,7 +31,6 @@ const TUTORIALS: TutorialInfo[] = [
link: {
title: Key.OrderBasics,
to: `${WebsitePaths.Wiki}#Create,-Validate,-Fill-Order`,
shouldOpenInNewTab: true,
},
},
{
@@ -42,7 +39,6 @@ const TUTORIALS: TutorialInfo[] = [
link: {
title: Key.UseSharedLiquidity,
to: `${WebsitePaths.Wiki}#Find,-Submit,-Fill-Order-From-Relayer`,
shouldOpenInNewTab: true,
},
},
];
@@ -56,7 +52,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '0x.js',
to: WebsitePaths.ZeroExJs,
shouldOpenInNewTab: true,
},
},
{
@@ -74,7 +69,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/connect',
to: WebsitePaths.Connect,
shouldOpenInNewTab: true,
},
},
{
@@ -83,7 +77,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/contract-wrappers',
to: WebsitePaths.ContractWrappers,
shouldOpenInNewTab: true,
},
},
{
@@ -92,7 +85,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/json-schemas',
to: WebsitePaths.JSONSchemas,
shouldOpenInNewTab: true,
},
},
{
@@ -101,7 +93,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/order-utils',
to: WebsitePaths.OrderUtils,
shouldOpenInNewTab: true,
},
},
{
@@ -110,7 +101,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/order-watcher',
to: WebsitePaths.OrderWatcher,
shouldOpenInNewTab: true,
},
},
{
@@ -139,7 +129,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: 'ethereum-types',
to: WebsitePaths.EthereumTypes,
shouldOpenInNewTab: true,
},
},
{
@@ -148,7 +137,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/sol-compiler',
to: WebsitePaths.SolCompiler,
shouldOpenInNewTab: true,
},
},
{
@@ -157,7 +145,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/sol-cov',
to: WebsitePaths.SolCov,
shouldOpenInNewTab: true,
},
},
{
@@ -166,7 +153,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/subproviders',
to: WebsitePaths.Subproviders,
shouldOpenInNewTab: true,
},
},
{
@@ -175,7 +161,6 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
link: {
title: '@0xproject/web3-wrapper',
to: WebsitePaths.Web3Wrapper,
shouldOpenInNewTab: true,
},
},
],