Skip to content

Commit

Permalink
fix(web): import helmet from node_modules (#9927)
Browse files Browse the repository at this point in the history
We can import this straight from node_modules instead of loading all the
index which imports a bunch of other files and node_modules first.
  • Loading branch information
jtoar committed Jan 29, 2024
1 parent 443c3af commit 7cc1a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/Metadata.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import { Head as HelmetHead } from '../index'
import { Helmet as HelmetHead } from 'react-helmet-async'

type ValueOrCollection<T> = T | ValueOrCollection<T>[] | Record<string, T>
type ParentValue = ValueOrCollection<string>
Expand Down

0 comments on commit 7cc1a20

Please sign in to comment.