Skip to content

Commit 5630984

Browse files
removed unecessary index file as deployment is now done through github actions and index file for stencil app is inside src
1 parent e9e63b6 commit 5630984

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/posts-dashboard/posts-dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component,State, h } from '@stencil/core';
77
})
88
export class AppHeader {
99
@State() posts: Array<{ id: number; title: string; body: string }> = [];
10-
// Fetch posts data when the component loads
10+
// Fetch posts data when the component loads- sample API
1111
async componentWillLoad() {
1212
const response = await fetch('https://jsonplaceholder.typicode.com/posts');
1313
const data = await response.json();

0 commit comments

Comments
 (0)