Skip to content

Commit 3d0b3f0

Browse files
committed
[workflow/test] Updated the typescript and workflows
1 parent 7664618 commit 3d0b3f0

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/test-runner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Runner
1+
name: Test
22
on:
33
push:
44
branches:

.github/workflows/type-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Type Check
1+
name: TSC
22
on:
33
push:
44
branches:

src/packages/react-native-material-elements/src/components/Grid/Grid.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ export const Grid = forwardRef<View, GridProps>(
228228
{renderChild()}
229229
</Box>
230230
);
231+
} else {
232+
return null;
231233
}
232234
},
233235
);

src/packages/react-native-material-elements/src/utils/styleGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const generateElementStyles = (args: StylePalette) => {
4141
const elementPropertyName = property as keyof typeof styles;
4242
if (args[elementPropertyName] === undefined) {
4343
console.warn(
44-
`Invalid element property name: ${args[elementPropertyName]}, and value: ${String(args[elementPropertyName])}`,
44+
`Invalid element property name: ${String(args[elementPropertyName])}, and value: ${String(args[elementPropertyName])}`,
4545
);
4646
continue;
4747
}

0 commit comments

Comments
 (0)