From 7d2126e2b200b8fd1d9e8f2d99ada411ef220ff2 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 4 Apr 2021 13:00:39 +0900 Subject: Fix punycode deprecation warning (#7426) --- src/client/ui/chat/post-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/ui') diff --git a/src/client/ui/chat/post-form.vue b/src/client/ui/chat/post-form.vue index e5f4132c4b..9dd87edac4 100644 --- a/src/client/ui/chat/post-form.vue +++ b/src/client/ui/chat/post-form.vue @@ -52,7 +52,7 @@ import { faReply, faQuoteRight, faPaperPlane, faTimes, faUpload, faPollH, faGlob import { faEyeSlash, faLaughSquint } from '@fortawesome/free-regular-svg-icons'; import insertTextAtCursor from 'insert-text-at-cursor'; import { length } from 'stringz'; -import { toASCII } from 'punycode'; +import { toASCII } from 'punycode/'; import * as mfm from 'mfm-js'; import { host, url } from '@client/config'; import { erase, unique } from '../../../prelude/array'; -- cgit v1.2.3-freya