From 4e819976c70f5a690945771a836c7d1da9108fbf Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sat, 17 Jul 2021 12:57:41 -0700 Subject: [PATCH] format --- src/pages/index.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index ac9b0ff..3911574 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -24,12 +24,11 @@ const getDifferentRand = (range, lastNs, iterations = 0) => { return n; }; -const getButtonClasses = (isClient, colorMode = 'vibrant') => +const getButtonClasses = (isClient, colorMode = "vibrant") => classnames( "z-20 rounded-md text-md inline-block px-3 py-2 my-1 mr-2 text-md hover:underline", - isClient && - `text-muted-light bg-${colorMode}-dark blurred-or-opaque-bg-2`, - isClient && colorMode === 'muted' ? `hover:bg-muted` : '' + isClient && `text-muted-light bg-${colorMode}-dark blurred-or-opaque-bg-2`, + isClient && colorMode === "muted" ? `hover:bg-muted` : "" ); const Nav = ({ ar, isClient }) => ( @@ -89,7 +88,7 @@ const Nav = ({ ar, isClient }) => ( const ImageButtons = ({ isClient, image, shuffleImage }) => (
(