Skip to content

Commit

Permalink
Resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 10, 2023
1 parent 0df2919 commit b0cb432
Showing 1 changed file with 28 additions and 34 deletions.
62 changes: 28 additions & 34 deletions web/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ import "@patternfly/patternfly/patternfly-base.scss";
import App from "~/App";
import Main from "~/Main";
import DevServerWrapper from "~/DevServerWrapper";
import L10nWrapper from "~/L10nWrapper";
import L10nBackendWrapper from "~/L10nBackendWrapper";
import { Overview } from "~/components/overview";
import { ProductSelectionPage, SoftwarePage } from "~/components/software";
import { ProposalPage as StoragePage, ISCSIPage, DASDPage, ZFCPPage } from "~/components/storage";
Expand Down Expand Up @@ -73,36 +71,32 @@ const container = document.getElementById("root");
const root = createRoot(container);

root.render(
<L10nWrapper>
<LoginWrapper>
<InstallerClientProvider client={createClient}>
<L10nBackendWrapper>
<SoftwareProvider>
<NotificationProvider>
<HashRouter>
<Routes>
<Route path="/" element={<App />}>
<Route path="/" element={<Main />}>
<Route index element={<Overview />} />
<Route path="/overview" element={<Overview />} />
<Route path="/l10n" element={<L10nPage />} />
<Route path="/software" element={<SoftwarePage />} />
<Route path="/storage" element={<StoragePage />} />
<Route path="/storage/iscsi" element={<ISCSIPage />} />
<Route path="/storage/dasd" element={<DASDPage />} />
<Route path="/storage/zfcp" element={<ZFCPPage />} />
<Route path="/network" element={<NetworkPage />} />
<Route path="/users" element={<UsersPage />} />
<Route path="/issues" element={<IssuesPage />} />
</Route>
<Route path="products" element={<ProductSelectionPage />} />
</Route>
</Routes>
</HashRouter>
</NotificationProvider>
</SoftwareProvider>
</L10nBackendWrapper>
</InstallerClientProvider>
</LoginWrapper>
</L10nWrapper>
<LoginWrapper>
<InstallerClientProvider client={createClient}>
<SoftwareProvider>
<NotificationProvider>
<HashRouter>
<Routes>
<Route path="/" element={<App />}>
<Route path="/" element={<Main />}>
<Route index element={<Overview />} />
<Route path="/overview" element={<Overview />} />
<Route path="/l10n" element={<L10nPage />} />
<Route path="/software" element={<SoftwarePage />} />
<Route path="/storage" element={<StoragePage />} />
<Route path="/storage/iscsi" element={<ISCSIPage />} />
<Route path="/storage/dasd" element={<DASDPage />} />
<Route path="/storage/zfcp" element={<ZFCPPage />} />
<Route path="/network" element={<NetworkPage />} />
<Route path="/users" element={<UsersPage />} />
<Route path="/issues" element={<IssuesPage />} />
</Route>
<Route path="products" element={<ProductSelectionPage />} />
</Route>
</Routes>
</HashRouter>
</NotificationProvider>
</SoftwareProvider>
</InstallerClientProvider>
</LoginWrapper>
);

0 comments on commit b0cb432

Please sign in to comment.