Last active
January 10, 2023 10:12
-
-
Save pigoz/b69e762d7d0c9b92c7752c6df4288700 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
impport * as Z from '@effect/io/Effect'; | |
export { loader } from '~/runtime'; | |
export const zloader: Z.Effect<..., ..., ...> = currentUserOrRedirect($path('/login')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LoaderArgs } from '@remix-run/node'; | |
const eval2 = eval; | |
export const loader = (args: LoaderArgs) => | |
dataFunction(args, eval2('zloader')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment