Fix gui warnings
This resolves two jest warnings from generic components for less clutter in Jest output. They appeared out of context during work on #2064 (closed).
This resolves two jest warnings from generic components for less clutter in Jest output. They appeared out of context during work on #2064 (closed).