Closed michael-harley closed 5 years ago
Hi @michael-harley, I agree. I think that package.json in GitHub has a wrong version number and I guess it should be at least 0.6.4. I don't know how npmjs works so I can't help with this issue. Maybe @ferrao could have a look.
Cheers
@doncicuto Hi, thanks for the quick response. For now I implement this workaround
toast(
{
type: "success",
title: "Update",
description: <p>Successfully update</p>,
size: "small",
time: 3000
},
() => {}, // TODO: Delete this after react-semantic-toasts is updated on npmjs https://github.com/academia-de-codigo/react-semantic-toasts/issues/48
() => {}, // TODO: Delete this after react-semantic-toasts is updated on npmjs
() => {} // TODO: Delete this after react-semantic-toasts is updated on npmjs
);
But will need to remove this after this issue resolved. I too don't really know how npmjs works, but I saw another github case not syncing with the npmjs, so I thought you'll need to release the version manually if there are new updates.
@doncicuto and @michael-harley, just pushed a new 0.6.5
version to npm.
https://github.com/academia-de-codigo/react-semantic-toasts/pull/39
I've commented there.
I notice that npmjs and github are not synced.
As npmjs code for
semantic-toast.jsx
is like this:And the github is like this:
I need the close to be working because currently my close button is not working (Crashing when calling
onDismiss
).