12 lines
226 B
TypeScript
12 lines
226 B
TypeScript
import { router } from "expo-router";
|
|
|
|
const handleAddItem = (storeKey: string) => {
|
|
router.push({
|
|
pathname: "/item/new/[storeKey]",
|
|
params: {
|
|
storeKey: storeKey,
|
|
},
|
|
});
|
|
};
|
|
|
|
export default handleAddItem;
|