Redesign #3

Closed
arek wants to merge 15 commits from redesign into master
Showing only changes of commit 2a94d2bb2f - Show all commits

View File

@ -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}