Use of config in ChatItem
We are importing config
in ChatItem
. This causes storybook to break, as the chain of dependencies tries to find fs
, which doesn't exist browser-side.
Let's turn whatever is needed as data to a prop.
The value of this should be built outside the pure ui components and passed along.