瀏覽代碼

add typing

AykutSarac 2 年之前
父節點
當前提交
db731ecc39
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/GoogleAnalytics/index.tsx

+ 1 - 1
src/components/GoogleAnalytics/index.tsx

@@ -3,7 +3,7 @@ import React from "react";
 
 const isDevelopment = process.env.NODE_ENV === "development";
 
-export const GoogleAnalytics = () => {
+export const GoogleAnalytics: React.FC = () => {
   if (isDevelopment) return null;
 
   return (