This file contains hidden or 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 { useVideoAssets } from '@/containers/VideoContainer/VideoAssetsContainer/VideoAssetsContainer.hook' | |
import TermsCheckbox from './Shared/TermsCheckbox' | |
import { TextInput, Button } from '@tremor/react'; | |
import { Input } from './Shared/RawInputTremor'; | |
const UploadSingleContentForm = ({setIsDialogOpen, parent, setUploadView}) => { | |
const contentSubmission = async(e) => { | |
try { |
This file contains hidden or 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
/* eslint-disable react/display-name */ | |
import React, { forwardRef, useImperativeHandle, useRef, useState } from 'react' | |
const NoteForm = ({ createNote }) => { | |
const [newNote, setNewNote] = useState('') | |
const addNote = (event) => { | |
event.preventDefault() | |
createNote({ |
This file contains hidden or 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 { useEffect, useState } from "react"; | |
import { | |
LoaderFunction, | |
useLoaderData, | |
useSubmit, | |
useSearchParams, | |
useNavigation | |
} from "@remix-run/react"; | |
import { useDebounce } from './useDebounce'; | |
import { LoaderArgs, json } from "@remix-run/node"; |
This file contains hidden or 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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+shift+q", | |
"command": "workbench.action.terminal.kill" | |
}, | |
{ | |
"key": "ctrl+shift+alt+n", | |
"command": "explorer.newFolder", | |
"when": "explorerViewletFocus" |
This file contains hidden or 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 { json, type V2_MetaFunction } from '@remix-run/node' | |
import { useLoaderData } from '@remix-run/react' | |
export const meta: V2_MetaFunction = () => { | |
return [ | |
{ title: 'New Remix App' }, | |
{ name: 'description', content: 'Welcome to Remix!' } | |
] | |
} |
This file contains hidden or 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
let x1, y1, x2, y2, result; | |
x1 = prompt('x1'); | |
y1 = prompt('y1'); | |
x2 = prompt('x2'); | |
y2 = prompt('y2'); | |
result = Math.sqrt(Math.pow((x2 - x1),2)+Math.pow((y2 - y1),2)); | |
console.log(result.toFixed(4)) |
This file contains hidden or 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
node_modules | |
build |
This file contains hidden or 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
{ | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
"emmet.triggerExpansionOnTab": true, | |
"editor.codeActionsOnSave": { | |
//eslint-runs-automatically-on-save | |
"source.fixAll.eslint": true | |
}, | |
"eslint.validate": [ |
This file contains hidden or 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
node_modules | |
build | |
.eslintrc.js | |
.prettierrc.js | |
.eslintcache |
This file contains hidden or 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
//global settings of my vs code | |
{ | |
"workbench.activityBar.visible": true, | |
"explorer.confirmDelete": false, | |
"liveServer.settings.donotShowInfoMsg": true, | |
"liveServer.settings.donotVerifyTags": true, | |
"files.associations": { | |
"*.js": "javascript" | |
}, |
NewerOlder