Skip to content

Commit

Permalink
Merge pull request #19 from lucasheartcliff/develop
Browse files Browse the repository at this point in the history
fixing lint errors
  • Loading branch information
lucasheartcliff authored May 1, 2024
2 parents fefdc5b + 3c00a5c commit 73b40cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/templates/Main.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import '@/utils/log';

import { type ReactNode, useEffect } from 'react';

import Navbar from '@/components/Navbar';
import Scroll from '@/components/Scroll';
import heartcliff from '@/utils/log';

type IMainProps = {
title: string;
Expand All @@ -13,7 +12,7 @@ type IMainProps = {

const Main = (props: IMainProps) => {
useEffect(() => {
(console as any).heartcliff();
heartcliff();
}, []);
return (
<div className="h-screen w-full">
Expand Down
3 changes: 1 addition & 2 deletions src/utils/log.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
function heartcliff() {
export default function heartcliff() {
console.info(`%cSite created by Lucas Heartcliff`, 'color: orange');
}
(console as any).heartcliff = heartcliff;

0 comments on commit 73b40cf

Please sign in to comment.