BUGFIX: Missing tooltip when doing faction work (#1679)

This commit is contained in:
catloversg 2024-10-08 13:51:02 +07:00 committed by GitHub
parent dc328b14df
commit 2fa8dd41ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -378,6 +378,7 @@ function Work(): React.ReactElement {
if (isFactionWork(Player.currentWork)) {
const factionWork = Player.currentWork;
details = <>Doing {factionWork.factionWorkType} work</>;
header = (
<>
Working for <strong>{factionWork.factionName}</strong>
@ -395,11 +396,7 @@ function Work(): React.ReactElement {
const companyWork = Player.currentWork;
const job = Player.jobs[companyWork.companyName];
if (!job) return <></>;
details = (
<>
{job} at <strong>{companyWork.companyName}</strong>
</>
);
details = <>{job}</>;
header = (
<>