Skip to content

Commit ebc2638

Browse files
committed
fix: lint
1 parent 007d684 commit ebc2638

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

src/blocks/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ContributorsModel} from './Contributors/Contributors';
1+
import {ContributorsModel} from './Contributors/types';
22
import {CustomHeaderModel} from './CustomHeader/CustomHeader';
33
import {ExamplesModel} from './Examples/Examples';
44
import {GithubStarsModel} from './GithubStarsBlock/GithubStarsBlock';

src/pages/rtl.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff 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
);

0 commit comments

Comments
 (0)