Skip to content

Commit 5e13722

Browse files
committed
Remove unused imports and parameters
1 parent d989ac8 commit 5e13722

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

gatsby-node.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
const redirects = require("./redirects");
22

3-
exports.createPages = ({ actions, graphql }) => {
4-
const { createPage, createRedirect } = actions;
3+
exports.createPages = ({ actions}) => {
4+
const { createRedirect } = actions;
55
// Redirects
66
redirects.forEach((redirect) => {
77
createRedirect({
88
fromPath: redirect.from,
99
toPath: redirect.to,
1010
redirectInBrowser: true,
11-
isPermanent: true,
1211
});
1312
});
14-
13+
1514
};

src/components/layout/Footer.tsx

-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
import { Link } from "gatsby";
21
import * as React from "react";
3-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4-
import {
5-
faGithub,
6-
faSlack,
7-
faTwitter,
8-
faYoutube,
9-
} from "@fortawesome/free-brands-svg-icons";
102
import Logo from "./Logo"
113
import Social from "./Social";
124

src/components/utils/Theme.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Link } from "gatsby";
21
import React from "react";
32
import { ThemeToggler } from "gatsby-plugin-dark-mode";
43
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

0 commit comments

Comments
 (0)