Update package
This commit is contained in:
parent
97f7c2def2
commit
f647a07d94
@ -18,7 +18,7 @@ esbuild
|
||||
'background.ts',
|
||||
],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
// minify: true,
|
||||
outdir: './lib',
|
||||
loader: { '.woff': 'file', '.woff2': 'file' },
|
||||
plugins: [scss(), svg()],
|
||||
|
29023
package-lock.json
generated
29023
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -41,6 +41,7 @@
|
||||
"devDependencies": {
|
||||
"@types/events": "^3.0.0",
|
||||
"@types/react-dom": "^17.0.9",
|
||||
"addons-linter": "^4.7.0",
|
||||
"esbuild": "^0.14.14",
|
||||
"esbuild-plugin-sass": "^1.0.1",
|
||||
"esbuild-plugin-svgr": "^1.0.0",
|
||||
|
@ -25,7 +25,6 @@ import './sidebar.scss';
|
||||
|
||||
const Sidebar = () => {
|
||||
const [origin, setOrigin] = useState<string | null>(null);
|
||||
// const [minValueLength, setMinValueLength] = useState<number | null>(7);
|
||||
const [minValueLength, setMinValueLength] = useState<number | null>(
|
||||
localStorage.getItem('minValueLength') === null
|
||||
? 7
|
||||
@ -139,10 +138,6 @@ const Sidebar = () => {
|
||||
<button
|
||||
onClick={() => {
|
||||
getMemory().removeCookiesFor(origin);
|
||||
// getMemory().removeCookiesFor(
|
||||
// origin,
|
||||
// getshorthost(new URL(origin).host)
|
||||
// );
|
||||
setCounter((c) => c + 1);
|
||||
setMarksOccurrence(false);
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user