Skip to content

Commit

Permalink
DESENG-666 Remove unused directories, update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Baelx committed Aug 12, 2024
1 parent 3d0cc69 commit 1d86b4b
Show file tree
Hide file tree
Showing 66 changed files with 21 additions and 5,302 deletions.
2 changes: 1 addition & 1 deletion met-web/src/components/banner/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import BannerWithImage from './BannerWithImage';
import { BannerProps } from '../engagement/view/types';
import { BannerProps } from '../engagement/old-view/types';

export const Banner = ({ height, imageUrl, children }: BannerProps) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion met-web/src/components/banner/BannerWithImage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { Box } from '@mui/material';
import BannerWithoutImage from './BannerWithoutImage';
import { BannerProps } from '../engagement/view/types';
import { BannerProps } from '../engagement/old-view/types';

const BannerWithImage = ({ height, imageUrl, children }: BannerProps) => {
const [imageError, setImageError] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion met-web/src/components/banner/BannerWithoutImage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Box } from '@mui/material';
import { BannerProps } from '../engagement/view/types';
import { BannerProps } from '../engagement/old-view/types';

const BannerWithoutImage = ({ children }: BannerProps) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion met-web/src/components/engagement/admin/view/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { Suspense, useEffect } from 'react';
import React, { Suspense } from 'react';
import { useLoaderData, Await } from 'react-router-dom';
import { Engagement } from 'models/engagement';
import { AutoBreadcrumbs } from 'components/common/Navigation/Breadcrumb';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useContext } from 'react';
import { Skeleton } from '@mui/material';
import { Banner } from 'components/banner/Banner';
import { CommentViewContext } from './CommentViewContext';
import EngagementInfoSection from 'components/engagement/view/EngagementInfoSection';
import EngagementInfoSection from 'components/engagement/old-view/EngagementInfoSection';

export const CommentBanner = () => {
const { isEngagementLoading, engagement } = useContext(CommentViewContext);
Expand Down

This file was deleted.

Loading

0 comments on commit 1d86b4b

Please sign in to comment.