Add util to handle redirects. version bump.

This commit is contained in:
2023-05-27 10:37:46 -04:00
parent b9fec71e45
commit 4d26396a8d
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mifi/ui-common", "name": "@mifi/ui-common",
"version": "1.0.1", "version": "1.0.2",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {

View File

@@ -0,0 +1 @@
export const responseRedirect = ({ location }: { location: string }) => (window.location.href = location);