mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-15 08:52:59 +01:00
chore: linting fixes && github actions for linting (#612)
This commit is contained in:
@@ -35,7 +35,7 @@ export const useDownloadedFileOpener = () => {
|
||||
async (item: BaseItemDto) => {
|
||||
try {
|
||||
// @ts-expect-error
|
||||
router.push("/player/direct-player?offline=true&itemId=" + item.Id);
|
||||
router.push(`/player/direct-player?offline=true&itemId=${item.Id}`);
|
||||
} catch (error) {
|
||||
writeToLog("ERROR", "Error opening file", error);
|
||||
console.error("Error opening file:", error);
|
||||
|
||||
Reference in New Issue
Block a user