Skip to content

Commit 2426a49

Browse files
feat: Removed the projectId and Added invalid records in the CSV file for user onboarding demo
1 parent 5473e92 commit 2426a49

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

apps/web/hooks/useSubOSIntegration.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export const useSubOSIntegration = () => {
3838
// Configure/Initialize SubOS
3939
configureSubOS({
4040
apiEndpoint: publicRuntimeConfig.NEXT_PUBLIC_PAYMENT_GATEWAY_URL,
41-
projectId: publicRuntimeConfig.NEXT_PUBLIC_SUBOS_PROJECT_ID,
4241
appName: publicRuntimeConfig.NEXT_PUBLIC_APP_NAME || DEFAULT_APP_NAME,
4342
appEnvironment: process.env.NODE_ENV,
4443
appVersion: publicRuntimeConfig.NEXT_PUBLIC_APP_VERSION || DEFAULT_APP_VERSION,

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"react-hook-form": "^7.39.1",
5454
"sharp": "^0.32.6",
5555
"typescript": "4.9.5",
56-
"subos-frontend": "^1.0.50"
56+
"subos-frontend": "^1.0.81"
5757
},
5858
"devDependencies": {
5959
"@storybook/builder-webpack5": "^6.5.16",

apps/web/pages/imports/[id].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ function ImportDetails() {
130130
id: MODAL_KEYS.WELCOME_IMPORTER,
131131
children: <WelcomeImporterModal onDoWelcomeWidgetAction={onWelcomeImportClick} />,
132132
withCloseButton: false,
133+
closeOnClickOutside: true,
133134
centered: true,
134135
size: 'xl',
135-
onClose: () => {},
136136
});
137137
}
138138
}, [showWelcome, onWelcomeImportClick]);

apps/web/public/sample-excel-file.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Product Name/ID,Quantity,Unit Price,Total Price,Category
2-
Refrigerator 001,4,25,100,Appliances
2+
Refrigerator 001,4,25,100,Home Appliances
33
Filing Cabinet 002,1,114,114,Furniture
44
Filing Cabinet 003,10,804,8040,Furniture
55
Wireless Mouse 004,2,756,1512,Electronics
66
Projector 005,6,97,582,Office
77
Whiteboard 006,10,612,6120,Home Appliances
88
Headphones 007,4,441,1764,Electronics
99
Wireless Mouse 008,2,274,548,Electronics
10-
Scanner 009,5,512,2560,Office
10+
Scanner 009,5,512,2560,Home Appliances
1111
Filing Cabinet 010,9,503,4527,Furniture
1212
Office Chair 011,5,421,2105,Furniture
1313
Refrigerator 012,7,175,1225,Appliances

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)