Remove unused directives
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 5s
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 5s
This commit is contained in:
@@ -40,7 +40,6 @@ export const Loader = ({ minDuration = 750, fadeMs = 600 }) => {
|
|||||||
(styles, show) =>
|
(styles, show) =>
|
||||||
show && (
|
show && (
|
||||||
<div>
|
<div>
|
||||||
{/* @ts-expect-error children not typed bug */}
|
|
||||||
<animated.div
|
<animated.div
|
||||||
style={{
|
style={{
|
||||||
...styles,
|
...styles,
|
||||||
@@ -70,11 +69,9 @@ export const Loader = ({ minDuration = 750, fadeMs = 600 }) => {
|
|||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* @ts-expect-error children not typed bug */}
|
|
||||||
<animated.div
|
<animated.div
|
||||||
style={{ ...barStyles, height: "100%", background: "#fff" }}
|
style={{ ...barStyles, height: "100%", background: "#fff" }}
|
||||||
>
|
>
|
||||||
{/* @ts-expect-error children not typed bug */}
|
|
||||||
<animated.div className="text-[#1b1b1b] text-xs flex h-full items-center justify-center">
|
<animated.div className="text-[#1b1b1b] text-xs flex h-full items-center justify-center">
|
||||||
{barStyles.width.to((w) => {
|
{barStyles.width.to((w) => {
|
||||||
const p = parseInt(w) || 0;
|
const p = parseInt(w) || 0;
|
||||||
|
|||||||
@@ -82,7 +82,6 @@ export const MobileMenu = ({
|
|||||||
className="stroke-[0.75] stroke-black"
|
className="stroke-[0.75] stroke-black"
|
||||||
/>
|
/>
|
||||||
</AnimatedButton>
|
</AnimatedButton>
|
||||||
{/* @ts-expect-error children not typed bug */}
|
|
||||||
<animated.div
|
<animated.div
|
||||||
style={{
|
style={{
|
||||||
transform: slideProps.x.to((x) => `translateX(${x}%)`),
|
transform: slideProps.x.to((x) => `translateX(${x}%)`),
|
||||||
|
|||||||
Reference in New Issue
Block a user