Skip to content

Commit f364aa4

Browse files
committed
chore: remove unused function
1 parent ab31898 commit f364aa4

File tree

6 files changed

+44
-117
lines changed

6 files changed

+44
-117
lines changed

js/src/api/axios.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ const instance: AxiosInstance = axios.create({
1414

1515
instance.interceptors.response.use(
1616
function (response) {
17-
// Any status code that lie within the range of 2xx cause this function to trigger
18-
19-
// const type = response?.data?.type
20-
// const method = response?.config?.method || ''
21-
// const statusText = response?.statusText
22-
// const typeText = getTypeText(type, method, statusText)
23-
// if (method !== 'get') {
24-
// console.log(`${typeText} success`)
25-
// }
26-
2717
return response
2818
},
2919
async function (error) {

js/src/assets/scss/global.scss

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,43 @@
1010
body {
1111
margin: 0 !important;
1212
}
13-
input[class*="ant-select"] {
14-
box-shadow: none !important;
15-
border: none !important;
16-
outline: none !important;
17-
}
1813

19-
input.ant-input {
20-
min-height: unset !important;
21-
line-height: 1.5 !important;
14+
div[class^="ant-"] {
15+
a {
16+
&:focus {
17+
box-shadow: none;
18+
}
19+
}
20+
21+
ins {
22+
@apply text-red-500 ml-1 no-underline;
23+
}
24+
del {
25+
@apply text-gray-400;
26+
}
27+
input[class*="ant-select"] {
28+
box-shadow: none !important;
29+
border: none !important;
30+
outline: none !important;
31+
}
32+
span.from {
33+
@apply hidden;
34+
}
35+
36+
input[class*="ant-input"],
37+
input.ant-select-selection-search-input {
38+
min-height: unset;
39+
line-height: 1.5;
40+
}
41+
42+
.antd-form-sm {
43+
div.ant-form-item {
44+
@apply mb-2;
45+
}
46+
div.ant-form-item-label {
47+
@apply pb-0 text-xs;
48+
}
49+
}
2250
}
2351

2452
@media print {

js/src/utils/functions/common.tsx

Lines changed: 0 additions & 83 deletions
This file was deleted.

js/src/utils/functions/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export * from './product'
2-
export * from './common'
31
export * from './order'

js/src/utils/functions/product.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

postcss.config.cjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
// eslint-disable-next-line no-undef
2+
// @ts-nocheck
3+
24
module.exports = {
35
plugins: {
4-
tailwindcss: {},
5-
autoprefixer: {},
6+
'postcss-import': require('postcss-import'),
7+
'tailwindcss/nesting': require('tailwindcss/nesting')(
8+
require('postcss-nesting'),
9+
),
10+
tailwindcss: require('tailwindcss'),
11+
autoprefixer: require('autoprefixer'),
612
},
713
}

0 commit comments

Comments
 (0)