From 4bfc978d2cc778c732890b1ef4e3eebabccc4ccd Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Mon, 1 Aug 2022 22:18:46 -0500 Subject: [PATCH] rename square nav --- squarenotsquare/src/navigation/SquareNav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squarenotsquare/src/navigation/SquareNav.js b/squarenotsquare/src/navigation/SquareNav.js index f23c207..7b22de2 100644 --- a/squarenotsquare/src/navigation/SquareNav.js +++ b/squarenotsquare/src/navigation/SquareNav.js @@ -2,7 +2,7 @@ import { createRef } from "react"; export const SquareRef = createRef(); -export function navigate(name, params) { +export function squareNav(name, params) { SquareRef.current?.navigate(name, params); return true; } \ No newline at end of file