Skip to content

Commit befb7dd

Browse files
committed
deleted: link to actions
1 parent 8fb0418 commit befb7dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
<a href="https://www.npmjs.com/package/@casperengl/try-catch" target="_blank">
44
<img alt="Version" src="https://img.shields.io/npm/v/@casperengl/try-catch.svg">
55
</a>
6-
<a href="https://github.com/casperengl/try-catch/actions" target="_blank">
7-
<img alt="GitHub Action" src="https://github.com/casperengl/try-catch/workflows/Main/badge.svg">
8-
</a>
96
<a href="https://github.com/CasperEngl/try-catch#readme" target="_blank">
107
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
118
</a>
@@ -57,7 +54,9 @@ Notice `type="module"` is required to use import statements in the browser.
5754
// import tryCatch from 'https://cdn.skypack.dev/@casperengl/try-catch';
5855
5956
const apiCall = async () => {
60-
const promise = fetch('https://reqres.in/api/users/1').then((response) => response.json());
57+
const promise = fetch('https://reqres.in/api/users/1').then((response) =>
58+
response.json()
59+
);
6160
const [error, result] = await tryCatch(promise);
6261
6362
console.log(error, result); // null, {data: {…}, support: {…}}

0 commit comments

Comments
 (0)