From b59ee2743825e9fc916b651e3a5f424686179508 Mon Sep 17 00:00:00 2001 From: z0ccc Date: Mon, 11 Jul 2022 17:02:30 -0400 Subject: [PATCH] Fixed prop types --- src/pages/Popup/Icon.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/Popup/Icon.tsx b/src/pages/Popup/Icon.tsx index ca65cd8..d56af58 100644 --- a/src/pages/Popup/Icon.tsx +++ b/src/pages/Popup/Icon.tsx @@ -1,6 +1,10 @@ import React, { useState, useEffect } from 'react' -const Icon = ({ icon }: any) => { +interface IconProps { + icon: React.ReactNode +} + +const Icon = ({ icon }: IconProps) => { return (