Skip to content

Commit

Permalink
fix: import for common js lib react-timer-hook (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
DNR500 authored Jul 10, 2024
1 parent 1c0c157 commit f8075fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/widget/src/components/Step/StepTimer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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 * as reactTimerHook from 'react-timer-hook';
const { useTimer } = reactTimerHook;

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

0 comments on commit f8075fd

Please sign in to comment.