mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Add guard for null placedData (#2087)
This commit is contained in:
parent
450287e4d0
commit
02a73d774a
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ export default class DhTokenManager {
|
|||
{ create: false }
|
||||
);
|
||||
|
||||
return placedData[0] ?? null;
|
||||
return placedData?.[0] ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue