Remove entry from options
This commit is contained in:
parent
33a25a3e9d
commit
2a94d2bb2f
|
@ -56,7 +56,7 @@ const Sidebar = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return setMarksOccurrence(false);
|
return setMarksOccurrence(false);
|
||||||
}, [counter]);
|
}, [counter, origin]);
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -99,7 +99,7 @@ const Sidebar = () => {
|
||||||
<SettingsIcon />
|
<SettingsIcon />
|
||||||
<span>Ustawienia wtyczki</span>
|
<span>Ustawienia wtyczki</span>
|
||||||
</button>
|
</button>
|
||||||
<button
|
{/* <button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
getMemory().removeCookiesFor(
|
getMemory().removeCookiesFor(
|
||||||
origin,
|
origin,
|
||||||
|
@ -108,11 +108,9 @@ const Sidebar = () => {
|
||||||
setMarksOccurrence(false);
|
setMarksOccurrence(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* {stolenDataView ? 'Options' : 'Data'}
|
|
||||||
*/}
|
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
<span>Wyczyść ciasteczka first-party</span>
|
<span>Wyczyść ciasteczka first-party</span>
|
||||||
</button>
|
</button> */}
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
getMemory().removeRequestsFor(origin);
|
getMemory().removeRequestsFor(origin);
|
||||||
|
@ -123,7 +121,7 @@ const Sidebar = () => {
|
||||||
{/* {stolenDataView ? 'Options' : 'Data'}
|
{/* {stolenDataView ? 'Options' : 'Data'}
|
||||||
*/}
|
*/}
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
<span>Wyczyść pamięć</span>
|
<span>Wyczyść ciasteczka</span>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
disabled={!marksOccurrence}
|
disabled={!marksOccurrence}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user