Skip to content

chore: remove Maybe #9880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make this a bit nicer
  • Loading branch information
aslilac committed Sep 27, 2023
commit 28fc626bbef993c23bec7095bee94122f380a55f
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ export interface TemplateVersionWarningsProps {

export const TemplateVersionWarnings: FC<
React.PropsWithChildren<TemplateVersionWarningsProps>
> = ({ warnings }) => {
if (!warnings) {
return <></>;
}
> = (props) => {
const { warnings = [] } = props;

if (!warnings.includes("UNSUPPORTED_WORKSPACES")) {
return null;
Expand Down