Move icons to public directory. Fixes #2573

This commit is contained in:
Gabe Kangas
2023-01-12 13:53:09 -08:00
parent 55a6ccc468
commit 48e99ff37c
4 changed files with 3 additions and 8 deletions

View File

@ -31,8 +31,6 @@ import { TEXTFIELD_PROPS_STREAM_TITLE } from '../../utils/config-constants';
import { ComposeFederatedPost } from './ComposeFederatedPost';
import { UpdateArgs } from '../../types/config-section';
import FediverseIcon from '../../assets/images/fediverse-black.png';
export type MainLayoutProps = {
children: ReactNode;
};
@ -206,7 +204,7 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
icon: (
<img
alt="fediverse icon"
src={FediverseIcon.src}
src="/img/fediverse-black.png"
width="17rem"
style={{ opacity: 0.6, position: 'relative', top: '-1px' }}
/>