diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 2ba295f83..8b4026a20 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -35,7 +35,7 @@ export const parameters = { // { name: 'light', value: '#ffffff' }, // { name: 'dark', value: '#111' }, // { name: 'aqua', value: '#6aadff' }, - // { name: 'kawai', value: '#ffbde6' }, + // { name: 'kawaii', value: '#ffbde6' }, // { name: 'midnight', value: '#002633' }, // { name: 'coffee', value: '#170a06' }, // ], diff --git a/LICENSE b/LICENSE index 5a6c2f781..2f4da8b0b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License Copyright (c) 2021 Rafael Lima -Copyright (c) 2022 Teia Community +Copyright (c) 2022-2023 Teia Community Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/atoms/logo/index.jsx b/src/atoms/logo/index.tsx similarity index 85% rename from src/atoms/logo/index.jsx rename to src/atoms/logo/index.tsx index 4530ccadb..dfd46f17c 100644 --- a/src/atoms/logo/index.jsx +++ b/src/atoms/logo/index.tsx @@ -5,7 +5,7 @@ import { memo } from 'react' import { useMemo } from 'react' import { RotatingLogoSVG } from '@icons' import { randomSeed } from '@utils' -export const RotatingLogoRemote = ({ className, seed = 1 }) => { +export const RotatingLogoRemote = ({ className = '', seed = 1 }) => { const theme = useLocalSettings((state) => state.theme) const { logos } = useSettings() @@ -30,14 +30,14 @@ export const RotatingLogoRemote = ({ className, seed = 1 }) => { ) } -export const RotatingLogo = ({ className, seed = 1 }) => { +export const RotatingLogo = ({ className = '', seed = 1 }) => { const Logo = useMemo(() => { return RotatingLogoSVG[ Math.floor(randomSeed(seed) * RotatingLogoSVG.length) ] }, [seed]) return ( -