mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
Title Prefix no longer required
Vite Version updated in package.json Removed duplicate character from titleFormatter in Misc.ts
This commit is contained in:
parent
d838d4ad25
commit
ba1f39268e
@ -10,7 +10,6 @@ module.exports = {
|
||||
plugins: ['react-refresh'],
|
||||
rules: {
|
||||
'react-refresh/only-export-components': 'warn',
|
||||
'@typescript-eslint/no-explicit-any': "off"
|
||||
|
||||
'@typescript-eslint/no-explicit-any': "off",
|
||||
},
|
||||
}
|
||||
|
786
package-lock.json
generated
786
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -42,6 +42,6 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.3.4",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.3.2"
|
||||
"vite": "^5.0.5"
|
||||
}
|
||||
}
|
||||
|
@ -696,7 +696,6 @@ export const PublishVideo = ({ editId, editContent }: NewCrowdfundProps) => {
|
||||
setTitlesPrefix(e.target.value.replace(titleFormatter, ""))
|
||||
}
|
||||
inputProps={{ maxLength: 180 }}
|
||||
required
|
||||
/>
|
||||
<Box
|
||||
{...getRootProps()}
|
||||
|
@ -1,2 +1,2 @@
|
||||
export const minPriceSuperlike = 10;
|
||||
export const titleFormatter = /[^a-zA-Z0-9\s-_!?()&'",.;:|—~@#$%^&*+=]/g;
|
||||
export const titleFormatter = /[^a-zA-Z0-9\s-_!?()&'",.;:|—~@#$%^*+=]/g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user