Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
falsandtru committed Feb 13, 2024
1 parent 9d92d83 commit c4c847c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/layer/domain/router/module/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export async function fetch(
config.fetch.timeout,
state.process,
config.fetch.rewrite,
// 遷移成功後に遷移可能性が自然に壊れることはないため検査不要
memory),
wait(config.fetch.wait),
window.dispatchEvent(new Event('pjax:fetch')),
Expand Down
4 changes: 1 addition & 3 deletions src/layer/domain/router/module/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export function update(
event.location.dest.href,
documents.src,
area,
memory && separate({ src: memory, dst: documents.dst }, [area]).extract(() => false)
? memory
: undefined);
memory);
return seqB;
})
.bind(seqB =>
Expand Down

0 comments on commit c4c847c

Please sign in to comment.