Rewrote app to use hooks and fixed multiple re-renders.
This commit is contained in:
7
client/src/components/alert/alert.component.jsx
Normal file
7
client/src/components/alert/alert.component.jsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Alert } from "antd";
|
||||
|
||||
import React from "react";
|
||||
|
||||
export default function AlertComponent({ props }) {
|
||||
return <Alert {...props} />;
|
||||
}
|
||||
Reference in New Issue
Block a user