Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Jul 17, 2022
1 parent 9eddc26 commit 48d00cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/use-toaster.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useEffect, useLayoutEffect, useCallback } from 'react';
import { useEffect, useCallback } from 'react';
import { dispatch, ActionType, useStore } from './store';
import { toast } from './toast';
import { DefaultToastOptions, Toast, ToastPosition } from './types';

export const updateHeight = (toastId: string, height: number) => {
const updateHeight = (toastId: string, height: number) => {
dispatch({
type: ActionType.UPDATE_TOAST,
toast: { id: toastId, height },
Expand Down

0 comments on commit 48d00cb

Please sign in to comment.