Skip to content

Commit

Permalink
added requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Apr 30, 2024
1 parent 388896d commit bef7bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pwa/src/templates/charts/CommongroundChartsTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface hoverProps {
organization?: number | undefined;
}

export const CommongroundCartsTemplate: React.FC = () => {
export const CommongroundChartsTemplate: React.FC = () => {
const { t } = useTranslation();
const { setFilters } = useFiltersContext();
const { pagination, setPagination } = usePaginationContext();
Expand Down
4 changes: 2 additions & 2 deletions pwa/src/templates/landing/LandingTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { IDisplaySwitchButton } from "@conduction/components/lib/components/disp
import { Heading, Separator } from "@utrecht/component-library-react/dist/css-module";
import { MarkdownContentTemplate } from "../markdown/MarkdownContentTemplate";
import { useTranslation } from "react-i18next";
import { CommongroundCartsTemplate } from "../charts/CommongroundChartsTemplate";
import { CommongroundChartsTemplate } from "../charts/CommongroundChartsTemplate";

interface LandingTemplateProps {
params: any;
Expand Down Expand Up @@ -48,7 +48,7 @@ export const LandingTemplate: React.FC<LandingTemplateProps> = ({ params }) => {

return (
<Container layoutClassName={styles.container}>
{window.sessionStorage.getItem("COMMONGROUND_CHARTS") === "true" && <CommongroundCartsTemplate />}
{window.sessionStorage.getItem("COMMONGROUND_CHARTS") === "true" && <CommongroundChartsTemplate />}
{window.sessionStorage.getItem("OPTIONAL_START_PAGE") &&
window.sessionStorage.getItem("OPTIONAL_START_PAGE") !== "false" &&
window.sessionStorage.getItem("OPTIONAL_START_PAGE") !== undefined && (
Expand Down

0 comments on commit bef7bc9

Please sign in to comment.