From ef46755abe4ef397552b1fbe29b706c17b6424b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 26 Nov 2024 15:39:35 +0900 Subject: [PATCH] Fix more --- crates/next-core/src/next_font/local/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/next-core/src/next_font/local/mod.rs b/crates/next-core/src/next_font/local/mod.rs index 28602ac5585a0..1b28bc4741e93 100644 --- a/crates/next-core/src/next_font/local/mod.rs +++ b/crates/next-core/src/next_font/local/mod.rs @@ -58,7 +58,7 @@ pub(crate) struct NextFontLocalResolvePlugin { #[turbo_tasks::value_impl] impl NextFontLocalResolvePlugin { #[turbo_tasks::function] - pub fn new(root: Vc) -> Vc { + pub fn new(root: ResolvedVc) -> Vc { NextFontLocalResolvePlugin { root }.cell() } } @@ -98,7 +98,7 @@ impl BeforeResolvePlugin for NextFontLocalResolvePlugin { match request_key.as_str() { "next/font/local/target.css" => { - if !can_use_next_font(this.root, **query_vc).await? { + if !can_use_next_font(*this.root, **query_vc).await? { return Ok(ResolveResultOption::none()); }