Skip to content

Commit 4247959

Browse files
committed
Push slight upgrades
1 parent 1af7a4d commit 4247959

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

.yarn/install-state.gz

0 Bytes
Binary file not shown.

docusaurus.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ const config: Config = {
124124
{ to: '/', label: 'Home', position: 'left' },
125125
{ to: '/docs/Documentation', label: 'Documentation', position: 'left' },
126126
{ to: '/docs/Guide', label: 'Guide', position: 'left' },
127-
{
128-
href: 'https://github.com/bracketed/jova.js/wiki',
129-
label: 'GitHub Wiki',
130-
position: 'left',
131-
},
132127
{
133128
href: 'https://github.com/bracketed/jova.js',
134129
label: 'GitHub',

src/components/HomepageFeatures/index.tsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ function Feature({ title, description }: FeatureItem) {
2727
export default function HomepageFeatures(): JSX.Element {
2828
const [downloads, setDownloads] = useState<string>('N/A');
2929
const [npmData, setNpmData] = useState<any | undefined>(undefined);
30-
const [githubData, setGithubData] = useState<any | undefined>(undefined);
3130
const [contributors, setContributors] = useState<string | number>('N/A');
3231
const [forks, setForks] = useState<string | number>('N/A');
3332
const [stars, setStars] = useState<string | number>('N/A');
@@ -72,14 +71,11 @@ export default function HomepageFeatures(): JSX.Element {
7271
})
7372
.catch(() => setNpmData(undefined));
7473

75-
axios.get('https://api.github.com/repos/bracketed/jova.js')
76-
.then((d) => {
77-
setGithubData(d.data);
78-
setContributorsState(d.data);
79-
setStars(d.data.stargazers_count);
80-
setForks(d.data.forks_count);
81-
})
82-
.catch(() => setGithubData(undefined));
74+
axios.get('https://api.github.com/repos/bracketed/jova.js').then((d) => {
75+
setContributorsState(d.data);
76+
setStars(d.data.stargazers_count);
77+
setForks(d.data.forks_count);
78+
});
8379
}, []);
8480

8581
const FeatureList: FeatureItem[] = [
@@ -116,7 +112,8 @@ export default function HomepageFeatures(): JSX.Element {
116112
<li>Simple structure</li>
117113
<li>Fully Typed</li>
118114
<li>(Almost) Fully Documented</li>
119-
<li>Up-to-date with Express 5</li>
115+
<li>(Almost) Decorator supported</li>
116+
<li>(Almost) Resource Config supported</li>
120117
</>
121118
),
122119
},
@@ -150,4 +147,3 @@ export default function HomepageFeatures(): JSX.Element {
150147
</section>
151148
);
152149
}
153-

0 commit comments

Comments
 (0)