Skip to content

Commit

Permalink
Merge branch 'TASK-141-sources-overview' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
alonkeyval committed Aug 3, 2023
2 parents 5fe763a + bfb54d8 commit 0662844
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/webapp/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from "react";
import { ThemeProvider } from "styled-components";
import theme from "@/styles/palette";
import { QueryClient, QueryClientProvider } from "react-query";
import Head from "next/head";

const LAYOUT_STYLE: React.CSSProperties = {
margin: 0,
Expand Down Expand Up @@ -30,6 +31,9 @@ export default function RootLayout({
<html lang="en">
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={theme}>
<Head>
<title>Odigos</title>
</Head>
<body suppressHydrationWarning={true} style={LAYOUT_STYLE}>
{children}
</body>
Expand Down
2 changes: 2 additions & 0 deletions frontend/webapp/app/overview/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const CHILDREN_STYLE = {
width: "100%",
height: "93%",
};

export const metadata: Metadata = METADATA;

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<div style={LAYOUT_STYLE}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useRouter, useSearchParams } from "next/navigation";
import { useNotification } from "@/hooks";
const DEST = "dest";

export function UpdateDestinationFlow({}) {
export function UpdateDestinationFlow() {
const [selectedDestination, setSelectedDestination] = useState<any>(null);

const router = useRouter();
Expand Down
1 change: 1 addition & 0 deletions frontend/webapp/containers/overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export { SourcesContainer } from "./sources/sources";
export { NewDestinationFlow } from "./destination/new.destination.flow";
export { NewDestinationForm } from "./destination/new.destination.form";
export { UpdateDestinationFlow } from "./destination/update.destination.flow";

0 comments on commit 0662844

Please sign in to comment.