Skip to content

Commit

Permalink
Update import paths for CustomSelectComponent and adjust NavigationLi…
Browse files Browse the repository at this point in the history
…st component structure
  • Loading branch information
Kevin Koech authored and Kevin Koech committed Jan 24, 2025
1 parent 3ec0e59 commit 563bc92
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CustomSelectComponent from "#civicsignalblog/payload/components/allowedAppSelect";
import CustomSelectComponent from "#civicsignalblog/payload/components/allowedAppSelect/index";

const CurrentAppSelectField = {
name: "currentApp",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CustomSelectComponent from "#civicsignalblog/payload/components/allowedAppSelect";
import CustomSelectComponent from "#civicsignalblog/payload/components/allowedAppSelect/index";

const DefaultAppSelectField = {
name: "defaultApp",
Expand Down
2 changes: 1 addition & 1 deletion apps/climatemappedafrica/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const outputFileTracingRoot = PROJECT_ROOT
: undefined;

module.exports = {
experimental: {
experimental: outputFileTracingRoot && {
outputFileTracingRoot,
},
images: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { Link } from "@commons-ui/next";
import {
Grid,
ListItemButton,
List,
ListItem,
Collapse,
Typography,
} from "@mui/material";
import { Grid, List, ListItem, Collapse, Typography } from "@mui/material";
import makeStyles from "@mui/styles/makeStyles";
import PropTypes from "prop-types";
import React, { useState } from "react";
Expand Down Expand Up @@ -109,8 +102,9 @@ function NavigationList({ onNavigate, open: openProp, navigation, ...props }) {

{analysisMenuNavigation?.length > 0 ? (
<>
<ListItemButton
<ListItem
autoFocus={false}
button
onClick={handleClick}
className={classes.listItem}
>
Expand All @@ -120,7 +114,7 @@ function NavigationList({ onNavigate, open: openProp, navigation, ...props }) {
>
{analysisMenu.title}
</Typography>
</ListItemButton>
</ListItem>

<Collapse in={open} timeout="auto">
<List component="nav" className={classes.collapse}>
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY}
S3_BUCKET: ${S3_BUCKET}
S3_REGION: ${S3_REGION}
MONGO_URL: mongodb://${MONGO_INITDB_ROOT_USERNAME:-root}:${MONGO_INITDB_ROOT_PASSWORD:-rootpassword}@host.docker.internal:${MONGODB_PORT:-27017}/codeforafrica?authSource=admin&directConnection=true
MONGO_URL: mongodb://${MONGO_INITDB_ROOT_USERNAME:-root}:${MONGO_INITDB_ROOT_PASSWORD:-rootpassword}@host.docker.internal:${MONGODB_PORT:-27017}/civicsignalblog?authSource=admin&directConnection=true
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
SENTRY_ORG: ${SENTRY_ORG}
SENTRY_ENVIRONMENT: ${SENTRY_ENVIRONMENT}
Expand Down

0 comments on commit 563bc92

Please sign in to comment.