Skip to content

Commit

Permalink
Fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 26, 2024
1 parent b5cb5e8 commit ef46755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/next-core/src/next_font/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub(crate) struct NextFontLocalResolvePlugin {
#[turbo_tasks::value_impl]
impl NextFontLocalResolvePlugin {
#[turbo_tasks::function]
pub fn new(root: Vc<FileSystemPath>) -> Vc<Self> {
pub fn new(root: ResolvedVc<FileSystemPath>) -> Vc<Self> {
NextFontLocalResolvePlugin { root }.cell()
}
}
Expand Down Expand Up @@ -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());
}

Expand Down

0 comments on commit ef46755

Please sign in to comment.