Jerry Hogan
Jerry Hogan
SSolidJS
Created by Jerry Hogan on 2/6/2023 in #support
Route layout not define
So, what do you suggest I do at this point? using the normal HTML a tag works.
10 replies
SSolidJS
Created by Jerry Hogan on 2/6/2023 in #support
Route layout not define
without the A tag it works. In solidjs all i need is wrapper a Router, now this is solid start. Not sure what to wrap
10 replies
SSolidJS
Created by Jerry Hogan on 2/6/2023 in #support
Route layout not define
export default {
title: 'Component/Gist Panel'
}



const Template = (args: GistsDataProps) => (
<GistsData {...args} />
);

export const Default: any = Template.bind({});
Default.args = {
gists: gists
}
export default {
title: 'Component/Gist Panel'
}



const Template = (args: GistsDataProps) => (
<GistsData {...args} />
);

export const Default: any = Template.bind({});
Default.args = {
gists: gists
}
this is the storybook code
10 replies
SSolidJS
Created by Jerry Hogan on 2/6/2023 in #support
Route layout not define
<div class="mt-3">
{local.gists.length > 0 ? (
<For each={local.gists}>
{(gist) => (
<div class="my-1" data-testid="gist-item">
<A href={gist.url} class={styles.link} target="_blank">
{gist.name}
</A>
</div>
)}
</For>
) : (
<p class={styles.error}>User does not have any gists</p>
)}
</div>
<div class="mt-3">
{local.gists.length > 0 ? (
<For each={local.gists}>
{(gist) => (
<div class="my-1" data-testid="gist-item">
<A href={gist.url} class={styles.link} target="_blank">
{gist.name}
</A>
</div>
)}
</For>
) : (
<p class={styles.error}>User does not have any gists</p>
)}
</div>
This is basically the component
10 replies
SSolidJS
Created by Jerry Hogan on 2/2/2023 in #support
API failing
Thanks, I already fixed it. entity client was the issue.
3 replies