From f9a2e98831d48c68d773487d2c0ba85c15d78046 Mon Sep 17 00:00:00 2001
From: itiradi <45735978+itiradi@users.noreply.github.com>
Date: Wed, 8 Feb 2023 08:20:27 +0900
Subject: [PATCH] fix(mfm): default degree not used in rotate (#9831)

---
 packages/frontend/src/components/mfm.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/frontend/src/components/mfm.ts b/packages/frontend/src/components/mfm.ts
index 7cfb19aeb6..683c9014a1 100644
--- a/packages/frontend/src/components/mfm.ts
+++ b/packages/frontend/src/components/mfm.ts
@@ -195,7 +195,7 @@ export default defineComponent({
 							return h(MkSparkle, {}, genEl(token.children));
 						}
 						case 'rotate': {
-							const degrees = parseFloat(token.props.args.deg) ?? '90';
+							const degrees = parseFloat(token.props.args.deg ?? '90');
 							style = `transform: rotate(${degrees}deg); transform-origin: center center;`;
 							break;
 						}