diff --git a/src/components/organisms/AssetActions/Compute/index.tsx b/src/components/organisms/AssetActions/Compute/index.tsx index 15a745266..4de6475e5 100644 --- a/src/components/organisms/AssetActions/Compute/index.tsx +++ b/src/components/organisms/AssetActions/Compute/index.tsx @@ -40,7 +40,7 @@ import { secondsToString } from '../../../../utils/metadata' import { getPreviousOrders, getPrice } from '../../../../utils/subgraph' const SuccessAction = () => ( - ) diff --git a/src/components/pages/History/index.tsx b/src/components/pages/History/index.tsx index 706d3d281..7a9c47b94 100644 --- a/src/components/pages/History/index.tsx +++ b/src/components/pages/History/index.tsx @@ -31,9 +31,17 @@ const tabs = [ ] export default function HistoryPage(): ReactElement { + const url = new URL(window.location.href) + const defaultTab = url.searchParams.get('defaultTab') + let defaultTabIndex = 0 + defaultTab === 'ComputeJobs' ? (defaultTabIndex = 4) : (defaultTabIndex = 0) return (
- +
) }