Browse Source

style: npm run format

Danny Liu 1 năm trước cách đây
mục cha
commit
8a7075c3bf

+ 3 - 1
src/lib/components/chat/Settings/Account.svelte

@@ -152,7 +152,9 @@
 							profileImageUrl = generateInitialsImage(name);
 							profileImageUrl = generateInitialsImage(name);
 						} else {
 						} else {
 							toast.info(
 							toast.info(
-								$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
+								$i18n.t(
+									'Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'
+								),
 								{
 								{
 									autoClose: 1000 * 10
 									autoClose: 1000 * 10
 								}
 								}

+ 5 - 3
src/routes/auth/+page.svelte

@@ -45,10 +45,12 @@
 
 
 		if (!canvasPixelTest()) {
 		if (!canvasPixelTest()) {
 			toast.info(
 			toast.info(
-				$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
+				$i18n.t(
+					'Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'
+				),
 				{
 				{
-					position: "bottom-center",
-					autoClose: 1000 * 10,
+					position: 'bottom-center',
+					autoClose: 1000 * 10
 				}
 				}
 			);
 			);
 		}
 		}