update and fix bug on Teams Mobile

This commit is contained in:
João Mendes 2023-06-24 13:23:53 +01:00
parent 0775616991
commit ef0251e79d
3 changed files with 1 additions and 43 deletions

View File

@ -6,6 +6,7 @@ import {
export const useMyDayStyles = makeStyles({
myDayContainer: {
width: "100%",
minWidth: "100%",
display: "flex",
flexDirection: "column",
justifyContent: "start",

View File

@ -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<INewsProps> = (props: React.PropsWithChildren<INewsProps>) => {
const styles = useItemStyles();
return (
<>
<div className={styles.centerContainer}>
<Get
resource="/me/insights/trending"
maxPages={1}
/>
</div>
</>
);
};

View File

@ -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<MgtTemplateProps> = (props: MgtTemplateProps) => {
const { value } = props.dataContext;
return (
<>
{value?.map((item: any, index: number) => {
return (
<>
</>
);
})}
</>
);
};