From 46152a19a6c038fae72e6ef28ad4389838e26672 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 8 Mar 2024 12:46:49 +0100 Subject: [PATCH] Convert logo.jsx to Typescript --- .../flavours/glitch/components/{logo.jsx => logo.tsx} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename app/javascript/flavours/glitch/components/{logo.jsx => logo.tsx} (72%) diff --git a/app/javascript/flavours/glitch/components/logo.jsx b/app/javascript/flavours/glitch/components/logo.tsx similarity index 72% rename from app/javascript/flavours/glitch/components/logo.jsx rename to app/javascript/flavours/glitch/components/logo.tsx index 73a94af9ed..b7f8bd6695 100644 --- a/app/javascript/flavours/glitch/components/logo.jsx +++ b/app/javascript/flavours/glitch/components/logo.tsx @@ -1,14 +1,12 @@ import logo from '@/images/logo.svg'; -export const WordmarkLogo = () => ( +export const WordmarkLogo: React.FC = () => ( Mastodon ); -export const SymbolLogo = () => ( +export const SymbolLogo: React.FC = () => ( Mastodon ); - -export default WordmarkLogo;