Skip to content
Snippets Groups Projects
Commit d3da823e authored by Tianyi Liang's avatar Tianyi Liang
Browse files

refactor: code cleanup

parent 34bb4530
No related branches found
No related tags found
No related merge requests found
import React from "react"; import React from "react";
import { useDocumentTitle } from "../../utils";
interface HeaderProps { interface HeaderProps {
title: string; title: string;
...@@ -7,8 +6,6 @@ interface HeaderProps { ...@@ -7,8 +6,6 @@ interface HeaderProps {
} }
const ExampleHeader: React.FC<HeaderProps> = ({ title, lead }) => { const ExampleHeader: React.FC<HeaderProps> = ({ title, lead }) => {
useDocumentTitle(title);
return ( return (
<header className="bg-hero py-5 mb-5"> <header className="bg-hero py-5 mb-5">
<div className="container h-100"> <div className="container h-100">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment