Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Oct 2, 2023
1 parent 88ad98a commit 5713138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-api/src/server_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ async fn build_server_actions_loader(
// which lazily imports the respective module's chunk_item id and invokes
// the exported action function.
for (i, (module, actions_map)) in actions.iter().enumerate() {
let module_name = format!("ACTIONS_MODULE{i}");
for (hash_id, name) in &*actions_map.await? {
let module_name = format!("ACTIONS_MODULE{i}");
writedoc!(
contents,
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use turbopack_binding::turbopack::{

use super::module_rule_match_js_no_url;

#[derive(Debug)]
pub enum ActionsTransform {
Client,
Server,
Expand Down

0 comments on commit 5713138

Please sign in to comment.