window.location > history.push (#12347)

This commit is contained in:
Evan Rusackas
2021-01-07 22:26:31 -08:00
committed by GitHub
parent cbda599406
commit d760e885d7
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ function ChartTable({
),
buttonStyle: 'tertiary',
onClick: () => {
history.push('/chart/add');
window.location.assign('/chart/add');
},
},
{

View File

@@ -157,7 +157,7 @@ function DashboardTable({
),
buttonStyle: 'tertiary',
onClick: () => {
history.push('/dashboard/new');
window.location.assign('/dashboard/new');
},
},
{