varimg при загрузке картинки не сбрасывает текст
This commit is contained in:
parent
acc2bd67f1
commit
df9ad60903
@ -49,7 +49,7 @@ export const OwnVarimgImage = forwardRef<HTMLInputElement, OwnVarimgImageProps>(
|
||||
const fileId = data?.data.fileIDMap[questionId];
|
||||
const localImageUrl = URL.createObjectURL(file);
|
||||
|
||||
updateOwnVariant(variantId, "", "", fileId, localImageUrl);
|
||||
updateOwnVariant(variantId, null, "", fileId, localImageUrl);
|
||||
// Убираем автоматический выбор own варианта - загрузка возможна только при выбранном own варианте
|
||||
// updateAnswer(questionId, variantId, 0);
|
||||
} catch (error) {
|
||||
|
@ -12,7 +12,7 @@ const isProduction = !(
|
||||
);
|
||||
|
||||
//туризм больше не в исключениях
|
||||
if (!isProduction) domain = "https://s.hbpn.link";
|
||||
if (!isProduction) domain = "https://hbpn.link";
|
||||
// domain = "https://hbpn.link";
|
||||
|
||||
export { domain, isProduction };
|
||||
|
Loading…
Reference in New Issue
Block a user