fix: Update Rust edition and fix frontend TypeScript error

This commit is contained in:
Khoa Vo 2026-03-15 07:03:01 +07:00
parent e9f20d6fac
commit 025110efae
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ RUN npm run build
# ---------------------------
# Stage 2: Build Backend (Rust)
# ---------------------------
FROM rust:1.75-bookworm AS backend-builder
FROM rust:1.85-bookworm AS backend-builder
WORKDIR /app/backend
COPY backend-rust/Cargo.toml ./

View file

@ -1,7 +1,7 @@
[package]
name = "backend-rust"
version = "0.1.0"
edition = "2024"
edition = "2021"
[dependencies]
axum = "0.8.8"

View file

@ -461,7 +461,7 @@ export default function PlayerBar() {
className="w-full h-1 bg-[#4d4d4d] rounded-lg appearance-none cursor-pointer accent-white group-hover:accent-green-500"
/>
</div>
<button onClick={() => setIsCoverModalOpen(true)} title="Full Screen" className="text-zinc-400 hover:text-white">
<button onClick={() => setIsFullScreenOpen(true)} title="Full Screen" className="text-zinc-400 hover:text-white">
<Maximize2 className="w-4 h-4" />
</button>
</div>