add title

This commit is contained in:
Brandon Thomas committed 2021-06-04 01:45:38 -04:00
1 parent 2d87d3d882
commit ef3198d390
1 file changed
+6
@@ -38,8 +38,14 @@ function TtsInferenceResultListFc(props: Props) {
}
});
let title = <span />;
if (results.length !== 0) {
title = <h4 className="title is-4">Session TTS Results</h4>;
}
return (
<div>
{title}
{results}
</div>
);