Skip to content

Commit

Permalink
add minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
heimdallrj authored and thinkholic committed Jan 12, 2023
1 parent 3c1b08d commit 9774dac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
3 changes: 1 addition & 2 deletions packages/react-jetpack/src/base/Portal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import { useEffect } from 'react';
import React, { useEffect } from 'react';
import { createPortal } from 'react-dom';

export type PortalProps = {
Expand Down
16 changes: 5 additions & 11 deletions packages/react-jetpack/src/base/SeoMeta.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
import React from 'react';
import { Helmet } from 'react-helmet-async';

/**
* @check
* - https://ogp.me
* - https://ahrefs.com/blog/seo-meta-tags
*/

type Props = {
title: string;
metaTags?: any[];
};

type MetaTag = {
name: string;
content: string;
};

type Props = {
title: string;
metaTags?: MetaTag[];
};

export default function SeoMeta({ title, metaTags = [] }: Props) {
return (
<Helmet>
Expand Down
9 changes: 0 additions & 9 deletions packages/react-jetpack/src/icons/Search.jsx

This file was deleted.

0 comments on commit 9774dac

Please sign in to comment.