diff --git a/package.json b/package.json index 3711bff..6748237 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@komoju/komoju-react-native", - "version": "0.1.0", + "version": "1.0.0", "description": "degica payment SDK", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", diff --git a/src/components/sections/SheetFooter.tsx b/src/components/sections/SheetFooter.tsx index a48309f..59c5ad2 100644 --- a/src/components/sections/SheetFooter.tsx +++ b/src/components/sections/SheetFooter.tsx @@ -1,21 +1,15 @@ import { Image, StyleSheet, View } from "react-native"; -import { useTheme } from "../../context/ThemeContext"; - -import { ThemeModes } from "../../util/constants"; - import FirstFooterImage from "../../assets/images/footer_image1.png"; import SecondFooterImage from "../../assets/images/footer_image2.png"; -import SecondFooterImageDM from "../../assets/images/footer_image2_dm.png"; import { responsiveScale } from "../../theme/scalling"; const SheetFooter = () => { - const { mode } = useTheme(); return ( - + ); }; diff --git a/src/context/StateProvider.tsx b/src/context/StateProvider.tsx index 6756f5f..3831100 100644 --- a/src/context/StateProvider.tsx +++ b/src/context/StateProvider.tsx @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/ban-ts-comment */ +// @ts-nocheck import { ReactNode, useReducer } from "react"; import { DispatchContext, StateContext, reducer } from "./state";