Skip to content

Commit

Permalink
fix(routeselector/resourceroom): remove accidental comments + fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Mar 20, 2024
1 parent 76bc4ac commit 05102f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/ResourceRoom/ResourceRoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ const ResourceRoomContent = ({
>
<FormLabel>Resource room title</FormLabel>
<Input
placeholder="New resource oom name"
placeholder="New resource room name"
{...register("newDirectoryName", {
required:
"Please ensure that you have entered a resource room name!",
Expand Down
2 changes: 0 additions & 2 deletions src/routing/RouteSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ export const RouteSelector = () => {
<ProtectedRouteWithProps
exact
path={[
// Collection is correct
// Subcollection disallows a few special characters
"/sites/:siteName([a-zA-Z0-9-]+)/folders/:collectionName([a-zA-Z0-9-]+)/subfolders/:subCollectionName/editPage/:fileName",
"/sites/:siteName([a-zA-Z0-9-]+)/folders/:collectionName([a-zA-Z0-9-]+)/editPage/:fileName",
"/sites/:siteName([a-zA-Z0-9-]+)/editPage/:fileName",
Expand Down

0 comments on commit 05102f2

Please sign in to comment.