Skip to content

Commit

Permalink
fix: notification container properties
Browse files Browse the repository at this point in the history
  • Loading branch information
avrcoelho committed May 8, 2022
1 parent 78e734a commit deee22c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export {

const notificationStore = NotificationStore.getInstance();

export const useNotification: UseNotificationHook = (
hookParams = { position: 'top-right' },
) => {
export const useNotification: UseNotificationHook = (hookParams = {}) => {
const info = useCallback(
(notificationParams: NotificationParams) => {
const notification = {
Expand Down

0 comments on commit deee22c

Please sign in to comment.