Skip to content

Commit

Permalink
feat: add next link
Browse files Browse the repository at this point in the history
  • Loading branch information
apurv-wednesday committed May 6, 2024
1 parent 8614ba3 commit 9fa794f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
collect: {
startServerCommand: "yarn start",
url: ["http://localhost:3000"],
numberOfRuns: 5,
numberOfRuns: 2,
// headful: true,
// default value is mobile
// settings: {
// preset: "desktop",
Expand All @@ -12,7 +13,7 @@ module.exports = {
assert: {
// Using loose settings for now. Should be tightened for production builds.
assertions: {
'first-contentful-paint': ['error', { maxNumericValue: 4000 }],
'first-contentful-paint': ['error', { maxNumericValue: 2500 }],
'categories:performance': ['error', { minScore: 0.90 }],
'categories:accessibility': ['error', { minScore: 0.90 }],
'categories:best-practices': ['error', { minScore: 0.90 }],
Expand Down
3 changes: 2 additions & 1 deletion src/containers/Repos/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container, CustomCard, If, T } from "@common";
import { Box, Divider, Link, OutlinedInput, Pagination, FormControl, InputLabel } from "@mui/material";
import { Box, Divider, OutlinedInput, Pagination, FormControl, InputLabel } from "@mui/material";
import { ErrorState, RepoList } from "@features/repos/components";
import { IRepoError } from "@features/repos/types";
import React, { memo, useEffect, useState } from "react";
Expand All @@ -9,6 +9,7 @@ import { useRouter } from "next/router";
import { Trans } from "@lingui/macro";
import { skipToken } from "@reduxjs/toolkit/query";
import styled from "@emotion/styled";
import Link from "next/link";

interface RepoContainerProps {
padding?: number;
Expand Down

0 comments on commit 9fa794f

Please sign in to comment.