From 868a57b2a4ac614ae1e31eef99c68572e5a70ef5 Mon Sep 17 00:00:00 2001 From: Maicol Battistini Date: Tue, 9 Nov 2021 15:32:10 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20Refactor=20Ale?= =?UTF-8?q?rt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/Components/Alert.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Alert.jsx b/resources/js/Components/Alert.jsx index 9195a9fca..e758d1450 100644 --- a/resources/js/Components/Alert.jsx +++ b/resources/js/Components/Alert.jsx @@ -48,7 +48,7 @@ export default class Alert extends Component implements ClassComponent<{ ); } - oninit() { + oninit(vnode) { if (this.attrs.get('id')) { this.attrs.put('id', uniqueId('dialog_')); }