Skip to content

Commit 4aa5023

Browse files
This comment is redundant
1 parent f1b7eeb commit 4aa5023

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ Delete cookie:
7070

7171
```javascript
7272
Cookies.remove('name');
73+
```
74+
75+
Delete cookie passing the attributes:
7376

74-
// Need to use the same path, domain and secure attributes that were used when writing the cookie
77+
```javascript
7578
Cookies.set('name', 'value', { path: '/foo' });
7679
Cookies.remove('name'); // fail!
7780
Cookies.remove('name', { path: '/foo' }); // removed!

0 commit comments

Comments
 (0)