Skip to content

Commit dfc59dc

Browse files
DavidJGrimsleydanstepanov
authored andcommitted
fix: use nativewindui casing
1 parent adf980c commit dfc59dc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cli/src/utilities/generateNWUI.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { spinner } from '@clack/prompts';
99

1010
function warnAboutSkippedNativewindUIPatch(toolbox: GluegunToolbox, patchName: string) {
1111
if (process.env.NODE_ENV === 'development') {
12-
toolbox.print.warning(`Skipped ${patchName}; generated NativeWindUI source did not match the expected shape.`);
12+
toolbox.print.warning(`Skipped ${patchName}; generated NativewindUI source did not match the expected shape.`);
1313
}
1414
}
1515

@@ -29,13 +29,13 @@ async function patchNativewindUIPickerForWeb(projectName: string, toolbox: Glueg
2929
if (nextSource.includes(nativeViewImport)) {
3030
nextSource = nextSource.replace(nativeViewImport, patchedViewImport);
3131
} else if (!nextSource.includes(patchedViewImport)) {
32-
warnAboutSkippedNativewindUIPatch(toolbox, 'NativeWindUI Picker web patch');
32+
warnAboutSkippedNativewindUIPatch(toolbox, 'NativewindUI Picker web patch');
3333
return;
3434
}
3535

3636
if (!nextSource.includes(nativeDropdownProps)) {
3737
if (!nextSource.includes(patchedDropdownProps)) {
38-
warnAboutSkippedNativewindUIPatch(toolbox, 'NativeWindUI Picker web patch');
38+
warnAboutSkippedNativewindUIPatch(toolbox, 'NativewindUI Picker web patch');
3939
}
4040
return;
4141
}
@@ -77,7 +77,7 @@ async function patchNativewindUIDatePickerForAndroid(projectName: string, toolbo
7777

7878
if (!nextSource.includes(deprecatedAndroidOpenBlock)) {
7979
if (!nextSource.includes('onValueChange: handleValueChange')) {
80-
warnAboutSkippedNativewindUIPatch(toolbox, 'NativeWindUI DatePicker Android patch');
80+
warnAboutSkippedNativewindUIPatch(toolbox, 'NativewindUI DatePicker Android patch');
8181
}
8282
return;
8383
}

0 commit comments

Comments
 (0)