Skip to content

Commit

Permalink
💄 Gloss: Remove Unused Imports + Variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Sep 30, 2024
1 parent f4ee1e7 commit be697df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/ModalSheetView/ModalSheetView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const ModalSheetView = React.forwardRef<

const [
modalSheetContentMap,
setModalSheetContentMap
// setModalSheetContentMap
] = React.useState<ModalSheetContentMap>({});

const isModalContentLazy = props.isModalContentLazy ?? true;
Expand Down Expand Up @@ -116,8 +116,8 @@ export const ModalSheetView = React.forwardRef<

React.useImperativeHandle(ref, () => rawRef.current!);

const shouldEnableDebugBackgroundColors =
props.shouldEnableDebugBackgroundColors ?? false;
// const shouldEnableDebugBackgroundColors =
// props.shouldEnableDebugBackgroundColors ?? false;

const children = React.Children.map(props.children, (child) => {
return React.cloneElement(
Expand Down
1 change: 0 additions & 1 deletion src/components/ModalSheetView/ModalSheetViewTypes.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { PropsWithChildren } from "react";
import type { ViewProps } from "react-native";
import type { RemapObject } from "react-native-ios-utilities";

import type { RNIModalSheetViewProps, RNIModalSheetViewRef } from "../../native_components/RNIModalSheetVIew";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type React from "react";

import type { PropsWithChildren } from "react";
import type { ViewProps } from "react-native";
import type { StateReactTag, StateViewID } from "react-native-ios-utilities";
Expand Down

0 comments on commit be697df

Please sign in to comment.