From b26a2347e7b0f7ff8720a204d9faefd501ba886c Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 23 Nov 2020 15:58:29 +0000 Subject: [PATCH] fix(frontend): fix missing import for ReactNode type in Slider --- src/components/Slider/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Slider/index.tsx b/src/components/Slider/index.tsx index 5f7202514..517970388 100644 --- a/src/components/Slider/index.tsx +++ b/src/components/Slider/index.tsx @@ -1,5 +1,11 @@ import { debounce } from 'lodash'; -import React, { useCallback, useEffect, useRef, useState } from 'react'; +import React, { + useCallback, + useEffect, + useRef, + useState, + ReactNode, +} from 'react'; import { useSpring } from 'react-spring'; import TitleCard from '../TitleCard'; import { defineMessages, FormattedMessage } from 'react-intl';