Skip to content

Commit

Permalink
fix: yarn test script (#1668)
Browse files Browse the repository at this point in the history
## What's the purpose of this pull request?

Quick Fix `yarn test` from FS root monorepo.

<img width="802" alt="Screenshot 2023-03-15 at 16 19 52"
src="https://user-images.githubusercontent.com/11325562/225420143-b6027496-9ac6-4134-b926-c70b704c08e2.png">
  • Loading branch information
eduardoformiga committed Mar 15, 2023
1 parent 02dc281 commit 128c706
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/components/src/hooks/UIProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react'
import { createContext, useContext, useMemo, useReducer } from 'react'
import type { PropsWithChildren } from 'react'
import React, { createContext, useContext, useMemo, useReducer } from 'react'

interface Toast {
message: string
Expand Down Expand Up @@ -108,7 +107,7 @@ interface Context extends State {

const UIContext = createContext<Context | undefined>(undefined)

function UIProvider({ children }: PropsWithChildren) {
function UIProvider({ children }: PropsWithChildren<unknown>) {
const [ui, dispatch] = useReducer(reducer, undefined, initializer)

const callbacks = useMemo(
Expand Down

1 comment on commit 128c706

@vercel
Copy link

@vercel vercel bot commented on 128c706 Mar 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.