Remove entry from options

This commit is contained in:
Arkadiusz Wieczorek 2022-01-19 14:17:13 +01:00
parent 33a25a3e9d
commit 2a94d2bb2f

View File

@ -56,7 +56,7 @@ const Sidebar = () => {
}
}
return setMarksOccurrence(false);
}, [counter]);
}, [counter, origin]);
return (
@ -99,7 +99,7 @@ const Sidebar = () => {
<SettingsIcon />
<span>Ustawienia wtyczki</span>
</button>
<button
{/* <button
onClick={() => {
getMemory().removeCookiesFor(
origin,
@ -108,11 +108,9 @@ const Sidebar = () => {
setMarksOccurrence(false);
}}
>
{/* {stolenDataView ? 'Options' : 'Data'}
*/}
<TrashIcon />
<span>Wyczyść ciasteczka first-party</span>
</button>
</button> */}
<button
onClick={() => {
getMemory().removeRequestsFor(origin);
@ -123,7 +121,7 @@ const Sidebar = () => {
{/* {stolenDataView ? 'Options' : 'Data'}
*/}
<TrashIcon />
<span>Wyczyść pamięć</span>
<span>Wyczyść ciasteczka</span>
</button>
<button
disabled={!marksOccurrence}