We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7d2ba commit 8fbfa37Copy full SHA for 8fbfa37
src/routes/index.tsx
@@ -9,9 +9,15 @@ import Top from '~/components/sections/top';
9
10
export default function Home() {
11
const [connectors, setConnectors] = createSignal<string[]>();
12
+ console.log('Loaded Component');
13
+ console.log(connectors());
14
+ setInterval(() => console.log(connectors()), 1000);
15
onMount(async () => {
- const connectors = await getConnectors();
- setConnectors(connectors);
16
+ console.log('Mounting...');
17
+ const fetchedConnectors = await getConnectors();
18
+ console.log('Got connectors', fetchedConnectors);
19
+ setConnectors(fetchedConnectors);
20
+ console.log('Set connectors', connectors());
21
});
22
return (
23
<main>
0 commit comments