Skip to content

Commit

Permalink
docs: set favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiboss committed Jun 18, 2024
1 parent 4761bd9 commit 7b779af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/src/theme/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import 'uno.css'

import React from 'react'
import { useFavicon, useMount } from '@site/../src'

export default function Root({ children }) {
const [_, actions] = useFavicon()

useMount(() => actions.setEmojiFavicon('🪝'))

return <>{children}</>
}

0 comments on commit 7b779af

Please sign in to comment.