diff --git a/samples/react-my-dashboard/src/src/components/myDay/useMyDayStyles.tsx b/samples/react-my-dashboard/src/src/components/myDay/useMyDayStyles.tsx index 12bc4a113..6918c834c 100644 --- a/samples/react-my-dashboard/src/src/components/myDay/useMyDayStyles.tsx +++ b/samples/react-my-dashboard/src/src/components/myDay/useMyDayStyles.tsx @@ -6,6 +6,7 @@ import { export const useMyDayStyles = makeStyles({ myDayContainer: { width: "100%", + minWidth: "100%", display: "flex", flexDirection: "column", justifyContent: "start", diff --git a/samples/react-my-dashboard/src/src/components/myFeed/TrendingList.tsx b/samples/react-my-dashboard/src/src/components/myFeed/TrendingList.tsx deleted file mode 100644 index 497eca513..000000000 --- a/samples/react-my-dashboard/src/src/components/myFeed/TrendingList.tsx +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-disable no-unused-expressions */ -import * as React from 'react'; - -import { Get } from '@microsoft/mgt-react/dist/es6/spfx'; - -import { useItemStyles } from './useItemStyles'; - -export interface INewsProps {} - -export const TrendingList: React.FunctionComponent = (props: React.PropsWithChildren) => { - const styles = useItemStyles(); - return ( - <> -
- -
- - ); -}; \ No newline at end of file diff --git a/samples/react-my-dashboard/src/src/components/myFeed/TrendingTemplateDefault.tsx b/samples/react-my-dashboard/src/src/components/myFeed/TrendingTemplateDefault.tsx deleted file mode 100644 index 43470c665..000000000 --- a/samples/react-my-dashboard/src/src/components/myFeed/TrendingTemplateDefault.tsx +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import * as React from 'react'; - -import { - MgtTemplateProps, -} from '@microsoft/mgt-react/dist/es6/MgtTemplateProps'; - -export const TrendingTempplateDefault: React.FunctionComponent = (props: MgtTemplateProps) => { - const { value } = props.dataContext; - return ( - <> - {value?.map((item: any, index: number) => { - return ( - <> - - - ); - })} - - ); -}; \ No newline at end of file