Skip to content

Instantly share code, notes, and snippets.

View IMPrimph's full-sized avatar
🎯
Focusing

Jaswanth IMPrimph

🎯
Focusing
View GitHub Profile
@IMPrimph
IMPrimph / Actions.jsx
Created June 15, 2024 13:50
actions.jsx initial version at timestamp around 57:00
/* eslint-disable react/prop-types */
import {
Flex,
} from "@chakra-ui/react";
const Actions = ({ liked, setLiked }) => {
return (
<Flex gap={3} my={2} onClick={(e) => e.preventDefault()}>
<svg
aria-label='Like'
@IMPrimph
IMPrimph / App.js
Created June 12, 2024 01:28
Using new OAuth module for MERN part 3
import React from 'react'
import Navbar from './components/Navbar/Navbar';
import Home from './components/Home/Home.js';
import { BrowserRouter, Switch, Route } from 'react-router-dom';
import Auth from './components/Auth/Auth';
import { Container } from '@material-ui/core';
import { GoogleOAuthProvider } from '@react-oauth/google';
function App() {
return (