Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 861e0a2

Browse files
committed
debug permission error?
1 parent 5419052 commit 861e0a2

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

client/src/Event/CreateEvent.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,15 @@ export const CreateEvent: React.FC = () => {
5757
// TODO fill in empty tsr event
5858
const [tsrEvent, setTsrEvent] = useState<TsrEvent>();
5959

60-
const { handleSubmit, register, errors, control, watch, setError, setValue } = useForm<
61-
FormData
62-
>({
60+
const {
61+
handleSubmit,
62+
register,
63+
errors,
64+
control,
65+
watch,
66+
setError,
67+
setValue,
68+
} = useForm<FormData>({
6369
defaultValues: {
6470
eventTypeOption: { value: "", label: "" },
6571
organizationOption: orgValues,

client/src/__tests__/Event/Task/EventTaskSection.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { SocketSubscriptionTopics, TsrEvent } from "../../../Event/EventApi";
1010
import {
1111
callSocketSubscriptionHandler,
1212
datePickerNextDay,
13-
fillInInputValueInForm,
1413
makeAudit,
1514
makeEvent,
1615
makeEventTask,

pipeline/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
3+
ls -al /usr/local/share/.cache/yarn
34
rm -rf /usr/local/share/.cache/yarn
45

56
if [ -d "src/main/resources/static" ]; then

0 commit comments

Comments
 (0)