mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix warnings
This commit is contained in:
parent
9f80c318e5
commit
55fd4ce16d
@ -28,7 +28,6 @@ const suboctopus = path.resolve(path.dirname(require.resolve("jassub")), "../dis
|
|||||||
* @type {import("next").NextConfig}
|
* @type {import("next").NextConfig}
|
||||||
*/
|
*/
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
swcMinify: true,
|
|
||||||
// can't be true since we would run hls cleanup twice and run on race conditions
|
// can't be true since we would run hls cleanup twice and run on race conditions
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
output: "standalone",
|
output: "standalone",
|
||||||
@ -118,9 +117,7 @@ const nextConfig = {
|
|||||||
"expo-linear-gradient",
|
"expo-linear-gradient",
|
||||||
"expo-image-picker",
|
"expo-image-picker",
|
||||||
],
|
],
|
||||||
experimental: {
|
outputFileTracingRoot: path.join(__dirname, "../../"),
|
||||||
outputFileTracingRoot: path.join(__dirname, "../../"),
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (process.env.NODE_ENV !== "production") {
|
if (process.env.NODE_ENV !== "production") {
|
||||||
|
BIN
front/bun.lockb
BIN
front/bun.lockb
Binary file not shown.
@ -23,7 +23,7 @@
|
|||||||
"yoshiki": "*"
|
"yoshiki": "*"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/html-elements": "^0.10.1",
|
"@expo/html-elements": "^0.11.0",
|
||||||
"@tanstack/react-query": "^5.59.16",
|
"@tanstack/react-query": "^5.59.16",
|
||||||
"solito": "^4.2.2"
|
"solito": "^4.2.2"
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
* 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 { type ImageStyle, View, type ViewStyle } from "react-native";
|
||||||
import { Image as ExpoImage } from "expo-image";
|
import { Image as ExpoImage } from "expo-image";
|
||||||
import { useYoshiki } from "yoshiki/native";
|
import { useYoshiki } from "yoshiki/native";
|
||||||
@ -47,7 +47,7 @@ export const Image = ({
|
|||||||
placeholder={{ blurhash: src.blurhash }}
|
placeholder={{ blurhash: src.blurhash }}
|
||||||
source={src[quality ?? "high"]}
|
source={src[quality ?? "high"]}
|
||||||
recyclingKey={src.high}
|
recyclingKey={src.high}
|
||||||
{...css([layout, border])}
|
{...(css([layout, border]) as any)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user