File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1- import { ContributorsModel } from './Contributors/Contributors ' ;
1+ import { ContributorsModel } from './Contributors/types ' ;
22import { CustomHeaderModel } from './CustomHeader/CustomHeader' ;
33import { ExamplesModel } from './Examples/Examples' ;
44import { GithubStarsModel } from './GithubStarsBlock/GithubStarsBlock' ;
Original file line number Diff line number Diff line change @@ -26,13 +26,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
2626 } ;
2727} ;
2828
29- export const RTLPage = ( {
30- libs,
31- contributors,
32- } : {
33- libs : LibWithMetadata [ ] ;
34- contributors : Contributor [ ] ;
35- } ) => {
29+ export const RTLPage = ( { libs} : { libs : LibWithMetadata [ ] ; contributors : Contributor [ ] } ) => {
3630 const { i18n} = useTranslation ( ) ;
3731 i18n . changeLanguage ( nextI18nextConfig . i18n . defaultLocale ) ;
3832
@@ -43,11 +37,7 @@ export const RTLPage = ({
4337 < link rel = "preload" as = "image" href = { backgroundAsset . src } type = "image/jpeg" />
4438 </ Head >
4539 < Layout isPageConstructor isRtl hideLocalePicker >
46- < Landing
47- libs = { libs }
48- contributors = { contributors }
49- backgroundImageSrc = { backgroundAsset . src }
50- />
40+ < Landing libs = { libs } backgroundImageSrc = { backgroundAsset . src } />
5141 </ Layout >
5242 </ >
5343 ) ;
You can’t perform that action at this time.
0 commit comments