forked from abner/for-legacy-web
Re-organise assets to be closer to their respective uses.
This commit is contained in:
@@ -8,7 +8,8 @@ interface Props extends IconBaseProps<Channels.GroupChannel | Channels.TextChann
|
||||
isServerChannel?: boolean;
|
||||
}
|
||||
|
||||
const fallback = '/assets/group.png';
|
||||
import fallback from './assets/group.png';
|
||||
|
||||
export default function ChannelIcon(props: Props & Omit<JSX.HTMLAttributes<HTMLImageElement>, keyof Props>) {
|
||||
const client = useContext(AppContext);
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@ const VoiceIndicator = styled.div<{ status: VoiceStatus }>`
|
||||
` }
|
||||
`;
|
||||
|
||||
const fallback = '/assets/user.png';
|
||||
import fallback from './assets/user.png';
|
||||
|
||||
export default function UserIcon(props: Props & Omit<JSX.SVGAttributes<SVGSVGElement>, keyof Props>) {
|
||||
const client = useContext(AppContext);
|
||||
|
||||
|
||||
BIN
src/components/common/assets/group.png
Normal file
BIN
src/components/common/assets/group.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
src/components/common/assets/user.png
Normal file
BIN
src/components/common/assets/user.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user