Fix warnings

This commit is contained in:
Zoe Roux 2024-11-01 13:49:35 +01:00
parent 9f80c318e5
commit 55fd4ce16d
No known key found for this signature in database
4 changed files with 4 additions and 7 deletions

View File

@ -28,7 +28,6 @@ const suboctopus = path.resolve(path.dirname(require.resolve("jassub")), "../dis
* @type {import("next").NextConfig}
*/
const nextConfig = {
swcMinify: true,
// can't be true since we would run hls cleanup twice and run on race conditions
reactStrictMode: false,
output: "standalone",
@ -118,9 +117,7 @@ const nextConfig = {
"expo-linear-gradient",
"expo-image-picker",
],
experimental: {
outputFileTracingRoot: path.join(__dirname, "../../"),
},
outputFileTracingRoot: path.join(__dirname, "../../"),
};
if (process.env.NODE_ENV !== "production") {

Binary file not shown.

View File

@ -23,7 +23,7 @@
"yoshiki": "*"
},
"dependencies": {
"@expo/html-elements": "^0.10.1",
"@expo/html-elements": "^0.11.0",
"@tanstack/react-query": "^5.59.16",
"solito": "^4.2.2"
}

View File

@ -18,7 +18,7 @@
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
*/
import { type ReactElement } from "react";
import type { ReactElement } from "react";
import { type ImageStyle, View, type ViewStyle } from "react-native";
import { Image as ExpoImage } from "expo-image";
import { useYoshiki } from "yoshiki/native";
@ -47,7 +47,7 @@ export const Image = ({
placeholder={{ blurhash: src.blurhash }}
source={src[quality ?? "high"]}
recyclingKey={src.high}
{...css([layout, border])}
{...(css([layout, border]) as any)}
/>
);
};