Skip to content

Commit

Permalink
fix: import useTimer as esm
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Feb 12, 2024
1 parent 0fb6378 commit 3f2abe6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/widget/src/components/Step/StepTimer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { LiFiStepExtended } from '@lifi/sdk';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import pkg from 'react-timer-hook';
const { useTimer } = pkg;
import { useTimer } from 'react-timer-hook';

const getExpiryTimestamp = (step: LiFiStepExtended) =>
new Date(
Expand Down

0 comments on commit 3f2abe6

Please sign in to comment.