tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
try try try
moth11.net
6 months ago
ad7791d0
cffe6963
+2
-1
1 changed file
expand all
collapse all
unified
split
src
lib
components
Receiever.svelte
+2
-1
src/lib/components/Receiever.svelte
···
13
13
let length = $derived(items.length);
14
14
let innerWidth = $state(0);
15
15
let isDesktop = $derived(innerWidth > 1000);
16
16
-
const attachImage: Action<HTMLDivElement, HTMLImageElement | null> = (
16
16
+
const attachImage: Action<HTMLDivElement, HTMLImageElement | undefined> = (
17
17
node,
18
18
img,
19
19
) => {
20
20
$effect(() => {
21
21
if (img != null) node.appendChild(img);
22
22
+
node.innerText = "bebebe";
22
23
return () => {
23
24
if (img != null) node.removeChild(img);
24
25
};