|
1 | | -/* |
2 | | - * This file is part of Edgehog. |
3 | | - * |
4 | | - * Copyright 2025 SECO Mind Srl |
5 | | - * |
6 | | - * Licensed under the Apache License, Version 2.0 (the "License"); |
7 | | - * you may not use this file except in compliance with the License. |
8 | | - * You may obtain a copy of the License at |
9 | | - * |
10 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
11 | | - * |
12 | | - * Unless required by applicable law or agreed to in writing, software |
13 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
14 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | | - * See the License for the specific language governing permissions and |
16 | | - * limitations under the License. |
17 | | - * |
18 | | - * SPDX-License-Identifier: Apache-2.0 |
19 | | - */ |
| 1 | +// This file is part of Edgehog. |
| 2 | +// |
| 3 | +// Copyright 2025 - 2026 SECO Mind Srl |
| 4 | +// |
| 5 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +// you may not use this file except in compliance with the License. |
| 7 | +// You may obtain a copy of the License at |
| 8 | +// |
| 9 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +// |
| 11 | +// Unless required by applicable law or agreed to in writing, software |
| 12 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +// See the License for the specific language governing permissions and |
| 15 | +// limitations under the License. |
| 16 | +// |
| 17 | +// SPDX-License-Identifier: Apache-2.0 |
20 | 18 |
|
21 | 19 | import { defineMessages, FormattedMessage } from "react-intl"; |
22 | 20 |
|
@@ -129,7 +127,7 @@ const DeploymentStateComponent = ({ |
129 | 127 | icon={displaySpinner(state, isReady) ? "spinner" : "circle"} |
130 | 128 | className={`me-2 ${stateColors[displayedState]} ${displaySpinner(state, isReady) ? "fa-spin" : ""}`} |
131 | 129 | /> |
132 | | - <FormattedMessage id={stateMessages[displayedState].id} /> |
| 130 | + <FormattedMessage {...stateMessages[displayedState]} /> |
133 | 131 | </div> |
134 | 132 | ); |
135 | 133 | }; |
|
0 commit comments