Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(website): fix guides
  • Loading branch information
plouc committed Dec 23, 2021
1 parent d7e7926 commit 12d0f39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
@@ -1,16 +1,11 @@
import React from 'react'
import React, { PropsWithChildren } from 'react'
import styled from 'styled-components'
import Header from './Header'
import media from '../theming/mediaQueries'
// @ts-ignore
import MiniNav from './nav/MiniNav'

/*
Layout.propTypes = {
children: PropTypes.node.isRequired,
}
*/

const Layout = ({ children }) => {
const Layout = ({ children }: PropsWithChildren<{}>) => {
return (
<>
<Header />
Expand Down
Expand Up @@ -14,6 +14,7 @@ const ComponentsExplorer = ({ location, navigate }) => {
const params = new URLSearchParams(location.search)
return [params.get('q'), params.get('filter')]
}, [location.search])

const handleSearch = useCallback(
term => {
const params = new URLSearchParams()
Expand Down
File renamed without changes.

0 comments on commit 12d0f39

Please sign in to comment.