fix: don't support old queries and mutators in schema

This commit is contained in:
Max Koon
2025-10-15 06:44:52 -04:00
parent bbe86f6049
commit 23987e4f87
7 changed files with 20 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ export default function RootLayout() {
<ZeroProvider {...zeroProps}>
<Stack>
<Stack.Protected guard={!isPending && !!session}>
<Stack.Screen name="index" />
<Stack.Screen name="index" options={{ headerShown: false }} />
</Stack.Protected>
<Stack.Protected guard={!isPending && !session}>
<Stack.Screen name="auth" />

View File

@@ -32,6 +32,9 @@ export default function HomeScreen() {
<Button onPress={() => {
z.mutate.transaction.deleteAll();
}} title="Delete" />
<Button onPress={() => {
z.mutate.link.create();
}} title="Open link" />
</SafeAreaView>
);
}