mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: use jpeg default
This commit is contained in:
1 parent
8d190b62b0
commit
7a8ad6c290
1 file changed
+4
-2
@@ -62,7 +62,9 @@ function Content({ embed }: PageProps) {
|
|||||||
const embedStateStore = EmbedState.useStore();
|
const embedStateStore = EmbedState.useStore();
|
||||||
const appStore = App.useStore();
|
const appStore = App.useStore();
|
||||||
const config = configurations[embed] as EmbedConfig;
|
const config = configurations[embed] as EmbedConfig;
|
||||||
const [backgroundImage, setBackgroundImage] = useState(imgur('SO13zur'));
|
const [backgroundImage, setBackgroundImage] = useState(
|
||||||
|
imgur('SO13zur', { format: 'jpeg' }),
|
||||||
|
);
|
||||||
const fileInput = useRef<HTMLInputElement>();
|
const fileInput = useRef<HTMLInputElement>();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -143,7 +145,7 @@ function Content({ embed }: PageProps) {
|
|||||||
<HeightIcon />
|
<HeightIcon />
|
||||||
Copy height
|
Copy height
|
||||||
</CopyButton>
|
</CopyButton>
|
||||||
<CopyButton variant="outline" copy={() => '`'}>
|
<CopyButton variant="outline" copy={() => '1'}>
|
||||||
<TimerIcon />
|
<TimerIcon />
|
||||||
Copy framerate
|
Copy framerate
|
||||||
</CopyButton>
|
</CopyButton>
|
||||||
|
|||||||
Reference in new issue
Block a user