Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tried several way to find the cause, but not able to figure out what this is causing.
Game.js
`
export default function Game({ gameType, title, user, activeGame, isActive = false }) {
if (!gameType) return null;
}`
Custom -> Countdown.js
`import React, { useCallback, useEffect, useState, useRef, forwardRef } from "react";
import Countdown, { zeroPad, total, calcTimeDelta, formatTimeDelta } from "react-countdown";
function CountDown(props, ref) {
const { ckey, isActiveGame, completionMsg = '', milliseconds = 0, gameAddOnTime, actions, onCountDownFinish, badgeColor = 'bg-info', badgeSizeStyleClass = 'fs-6' } = props;
}
export default forwardRef(CountDown);`
Beta Was this translation helpful? Give feedback.
All reactions