Skip to content

Commit 7d8bdc3

Browse files
committed
Small formatting
1 parent f02a435 commit 7d8bdc3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

ios/imggenrn/imggenrn.entitlements

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>aps-environment</key>
6-
<string>development</string>
7-
</dict>
8-
</plist>
4+
<dict/>
5+
</plist>

src/components/InputPrompt.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ import Toast from "react-native-toast-message";
1515
import { fetchImages, fetchSuggestion, generateImage } from "../fetchData";
1616
import AsyncStorage from "@react-native-async-storage/async-storage";
1717
import imagesState from "../state/imageState";
18-
import { ImageUrl } from '../types/imageUrl';
18+
import { ImageUrl } from "../types/imageUrl";
1919

2020
interface InputPromptProps {
21-
flatListRef: React.RefObject<FlatList<ImageUrl>>,
22-
isFirstRender: React.MutableRefObject<boolean>
21+
flatListRef: React.RefObject<FlatList<ImageUrl>>;
22+
isFirstRender: React.MutableRefObject<boolean>;
2323
}
2424

2525
const InputPrompt: React.FC<InputPromptProps> = ({
26-
flatListRef,
27-
isFirstRender,
28-
})=> {
26+
flatListRef,
27+
isFirstRender,
28+
}) => {
2929
const setImages = useSetRecoilState(imagesState);
3030
const [suggestion, setSuggestion] = useRecoilState(suggestionState);
3131
const [inputValue, setInputValue] = useState("");

0 commit comments

Comments
 (0)