refactor(web-server): make type prop optional in ShowModalLogs component

- Update type prop to be optional in the Props interface
- Improve component flexibility by allowing undefined type
This commit is contained in:
Mauricio Siu 2025-03-02 03:24:29 -06:00
parent 7f8f6ac64c
commit 2ae14c65cf

View File

@ -36,7 +36,7 @@ interface Props {
appName: string; appName: string;
children?: React.ReactNode; children?: React.ReactNode;
serverId?: string; serverId?: string;
type: "standalone" | "swarm"; type?: "standalone" | "swarm";
} }
export const ShowModalLogs = ({ export const ShowModalLogs = ({