Skip to content

Commit 71b7c9e

Browse files
zubidenAjaxy
authored andcommitted
Wave Effect: Compress assets (#5792)
1 parent fc2d973 commit 71b7c9e

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

src/@types/global.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type AllEmojis = Record<string, Emoji | EmojiWithSkins>;
6262

6363
// Declare supported for import formats as modules
6464
declare module '*.png';
65+
declare module '*.jpg';
6566
declare module '*.svg';
6667
declare module '*.tgs';
6768
declare module '*.wasm';

src/assets/wave_ripple.jpg

26.7 KB
Loading

src/assets/wave_ripple.png

-52.8 KB
Binary file not shown.

src/components/main/visualEffects/WaveContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import useLastCallback from '../../../hooks/useLastCallback';
1616

1717
import styles from './WaveContainer.module.scss';
1818

19-
import waveRipple from '../../../assets/wave_ripple.png';
19+
import waveRipple from '../../../assets/wave_ripple.jpg';
2020

2121
type StateProps = {
2222
waveInfo?: TabState['wave'];

0 commit comments

Comments
 (0)