daily-co / daily-react

React hooks and components to get started with Daily
https://docs.daily.co/reference/daily-react
BSD 2-Clause "Simplified" License
47 stars 15 forks source link

useDailyError is not exported #25

Closed fcheung closed 11 months ago

fcheung commented 11 months ago

Expected behavior

useDailyError is documented here, so i should be able to import it with

import { useDailyError } from '@daily-co/daily-react';

Describe the bug (unexpected behavior)

No matching export in "node_modules/@daily-co/daily-react/dist/daily-react.esm.js" for import "useDailyError"

Additional context

useDailyError isn't exported from https://github.com/daily-co/daily-react/blob/main/src/index.ts

Regaddi commented 11 months ago

Thank you @fcheung for the report!

This obviously slipped through the cracks. I'll work on a small patch release later.

Regaddi commented 11 months ago

A 0.14.1 patch release is incoming.