diff --git a/themes/gitbook/components/SocialButton.js b/themes/gitbook/components/SocialButton.js index 80078ae7..d8d3c421 100644 --- a/themes/gitbook/components/SocialButton.js +++ b/themes/gitbook/components/SocialButton.js @@ -1,6 +1,6 @@ import QrCode from '@/components/QrCode' import { siteConfig } from '@/lib/config' -import { useState } from 'react' +import { useRef, useState } from 'react' import { handleEmailClick } from '@/lib/plugins/mailEncrypt' /**