Skip to content

Commit 0e8ae99

Browse files
committed
Give anonymous I/O tasks a name
1 parent 6e4b5b8 commit 0e8ae99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-client/src/ReactFlightClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ function nullRefGetter() {
698698
}
699699

700700
function getIOInfoTaskName(ioInfo: ReactIOInfo): string {
701-
return ioInfo.name;
701+
return ioInfo.name || 'unknown request';
702702
}
703703

704704
function getAsyncInfoTaskName(asyncInfo: ReactAsyncInfo): string {

0 commit comments

Comments
 (0)