summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-27 11:36:19 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-27 11:38:06 +0200
commitd40772d2b54040a851223575e8c99eda4567f3a3 (patch)
tree8b72f12998c18636f79944ab9ed1f4503ce8e068 /opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js
parent18b7ec85dde70ae0bd74d638d573daeaf3e4365f (diff)
build(web/ui): Update to Next 13 and React 18
This change updates the web interface to use Next 13 and React 18. This release has a couple breaking changes (related to links) which we have fixed accordingly.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js b/opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js
index 64218a0a..5fd2a1da 100644
--- a/opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js
+++ b/opendc-web/opendc-web-ui/src/components/portfolios/ScenarioTable.js
@@ -59,7 +59,7 @@ function ScenarioTable({ portfolio, status }) {
<Td dataLabel="Topology">
{scenario.topology ? (
<Link href={`/projects/${projectId}/topologies/${scenario.topology.number}`}>
- <a>{scenario.topology.name}</a>
+ scenario.topology.name
</Link>
) : (
'Unknown Topology'