Skip to content

Commit

Permalink
format file
Browse files Browse the repository at this point in the history
  • Loading branch information
cristidumitrescutotalsoft committed Sep 5, 2024
1 parent 761a16f commit edb0b20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/feedback/Toast/useToast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const useToast = () => {
* @param {ToastOptions} options Additional options passed to the toast
*/
(message: ToastContent, variant?: ToastifyTypeOptions, { transitionType, ...restOptions } = {} as ToastOptions) => {

const toastClasses = cx({
[classes[variant]]: variant,
[classes['default']]: true
Expand All @@ -39,7 +38,7 @@ const useToast = () => {
[T, always(Slide)]
])

const options: ToastifyToastOptions = {
const options: ToastifyToastOptions = {
...restOptions,
transition: getTransitionType(transitionType),
className: toastClasses
Expand Down

0 comments on commit edb0b20

Please sign in to comment.