mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 04:23:16 +00:00
chore: fix linter
This commit is contained in:
@ -39,7 +39,7 @@
|
||||
"autoprefixer": "^10.4.19",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-react": "^7.34.1",
|
||||
"long": "^5.2.3",
|
||||
"postcss": "^8.4.38",
|
||||
|
9587
frontend/extension/pnpm-lock.yaml
generated
9587
frontend/extension/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,7 @@ chrome.webRequest.onBeforeRequest.addListener(
|
||||
}
|
||||
})();
|
||||
},
|
||||
{ urls: ["*://s/*", "*://*/search*"] }
|
||||
{ urls: ["*://s/*", "*://*/search*"] },
|
||||
);
|
||||
|
||||
const getShortcutNameFromUrl = (urlString: string) => {
|
||||
|
@ -109,7 +109,7 @@ const CreateShortcutButton = () => {
|
||||
link: state.link,
|
||||
tags,
|
||||
visibility: context.defaultVisibility as Visibility,
|
||||
})
|
||||
}),
|
||||
);
|
||||
toast.success("Shortcut created successfully");
|
||||
setShowModal(false);
|
||||
|
@ -22,7 +22,7 @@ const ShortcutView = (props: Props) => {
|
||||
<>
|
||||
<div
|
||||
className={classNames(
|
||||
"group w-auto px-3 py-2 flex flex-col justify-start items-start border rounded-lg hover:bg-gray-100 hover:shadow dark:border-zinc-800 dark:hover:bg-zinc-800"
|
||||
"group w-auto px-3 py-2 flex flex-col justify-start items-start border rounded-lg hover:bg-gray-100 hover:shadow dark:border-zinc-800 dark:hover:bg-zinc-800",
|
||||
)}
|
||||
>
|
||||
<div className="w-full flex flex-row justify-start items-center">
|
||||
@ -37,7 +37,7 @@ const ShortcutView = (props: Props) => {
|
||||
<div className="w-full flex flex-row justify-start items-center">
|
||||
<button
|
||||
className={classNames(
|
||||
"max-w-full flex flex-row px-1 mr-1 justify-start items-center cursor-pointer rounded-md hover:underline"
|
||||
"max-w-full flex flex-row px-1 mr-1 justify-start items-center cursor-pointer rounded-md hover:underline",
|
||||
)}
|
||||
onClick={handleShortcutLinkClick}
|
||||
>
|
||||
|
@ -49,7 +49,7 @@ const useShortcutStore = create(
|
||||
set({ shortcutMapById: shortcutMap });
|
||||
return shortcut;
|
||||
},
|
||||
}))
|
||||
})),
|
||||
);
|
||||
|
||||
export default useShortcutStore;
|
||||
|
Reference in New Issue
Block a user