fix: annotation missing text

This commit is contained in:
Ivan Shmidt
2020-09-07 22:32:47 +02:00
parent 37e72cf457
commit b745142fa0
3 changed files with 4 additions and 8 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ type Props = {
export const Router = ({ entity }: Props) =>
!isPluginApplicableToEntity(entity) ? (
<WarningPanel title="Rollbar plugin:">
<pre>
entity.metadata.annotations['{ROLLBAR_ANNOTATION}']` key is missing on
the entity.
</pre>
<pre>{ROLLBAR_ANNOTATION}</pre> annotation is missing on the entity.
</WarningPanel>
) : (
<Routes>