6 lines
108 B
JavaScript
6 lines
108 B
JavaScript
|
function component(a, b) {
|
||
|
let x = (async () => {
|
||
|
await a;
|
||
|
}) |> React.useMemo(%, []);
|
||
|
return x;
|
||
|
}
|