Skip to content

Commit

Permalink
Fix children rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Nov 8, 2023
1 parent d873f36 commit e7940c1
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* See License.AGPL.txt in the project root for license information.
*/

import { useMemo } from "react";
import { PageWithSubMenu } from "../../components/PageWithSubMenu";
import { Button } from "@podkit/buttons/Button";
import Alert from "../../components/Alert";
import { Loader2 } from "lucide-react";
import type { UseQueryResult } from "@tanstack/react-query";
import type { Configuration } from "@gitpod/public-api/lib/gitpod/v1/configuration_pb";
import { BreadcrumbNav } from "@podkit/breadcrumbs/BreadcrumbNav";
import { Button } from "@podkit/buttons/Button";
import type { UseQueryResult } from "@tanstack/react-query";
import { Loader2 } from "lucide-react";
import { useMemo } from "react";
import Alert from "../../components/Alert";
import { PageWithSubMenu } from "../../components/PageWithSubMenu";

export interface PageWithAdminSubMenuProps {
children: React.ReactNode;
Expand Down Expand Up @@ -60,7 +60,7 @@ export function ConfigurationDetailPage({ children, configurationQuery, id }: Pa
// TODO: add a better not-found UI w/ link back to repositories
<div>Sorry, we couldn't find that repository configuration.</div>
) : (
{ children }
children
))}
</PageWithSubMenu>
</div>
Expand Down

0 comments on commit e7940c1

Please sign in to comment.